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

following bug fixed in SampleBrowserGrid: Sample type combo box doesn't update...

following bug fixed in SampleBrowserGrid: Sample type combo box doesn't update after changes of listable flag of a sample type if the user has no home space.

SVN: 27867
parent cc568640
No related branches found
No related tags found
No related merge requests found
...@@ -531,15 +531,15 @@ public class SampleBrowserGrid extends AbstractEntityGrid<Sample> ...@@ -531,15 +531,15 @@ public class SampleBrowserGrid extends AbstractEntityGrid<Sample>
public void update(Set<DatabaseModificationKind> observedModifications) public void update(Set<DatabaseModificationKind> observedModifications)
{ {
ICriteriaProvider<ListSampleDisplayCriteria> criteriaProvider = getCriteriaProvider(); ICriteriaProvider<ListSampleDisplayCriteria> criteriaProvider = getCriteriaProvider();
criteriaProvider.update(observedModifications, new IDataRefreshCallback()
{
@Override
public void postRefresh(boolean wasSuccessful)
{
}
});
if (criteriaProvider.tryGetCriteria() != null) if (criteriaProvider.tryGetCriteria() != null)
{ {
criteriaProvider.update(observedModifications, new IDataRefreshCallback()
{
@Override
public void postRefresh(boolean wasSuccessful)
{
}
});
super.update(observedModifications); super.update(observedModifications);
} }
} }
......
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