Skip to content
Snippets Groups Projects
Commit 3cfd05d7 authored by felmer's avatar felmer
Browse files

LMS-2487 fixed

SVN: 22780
parent 03a1d31b
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityPropertiesHolder
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.IEntityProperty;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.SortInfo.SortDir;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.VocabularyTerm;
import ch.systemsx.cisd.openbis.generic.shared.basic.dto.WebClientConfiguration;
/**
......@@ -1834,6 +1835,11 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
} else
{
showModificationsBar();
if (value instanceof VocabularyTerm)
{
VocabularyTerm term = (VocabularyTerm) value;
value = term.getCode();
}
tableModificationsManager.handleEditingEvent(model, columnID,
StringUtils.toStringOrNull(value));
}
......@@ -1850,14 +1856,13 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod
{
return false;
}
/**
* Shows a message that the table cell of specified column and row (model) isn't editable.
*/
protected void showNonEditableTableCellMessage(M model, String columnID)
{
MessageBox.info("Not Editable",
"Sorry, this table cell isn't editable", null);
MessageBox.info("Not Editable", "Sorry, this table cell isn't editable", null);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment