Skip to content
Snippets Groups Projects
Commit 82e5c280 authored by izabel's avatar izabel
Browse files

[LMS-721] turn off loading mask when callback failure occurs

SVN: 9710
parent 71fc7005
No related branches found
No related tags found
No related merge requests found
......@@ -421,6 +421,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends ModelData> ex
@Override
protected final void finishOnFailure(final Throwable caught)
{
grid.el().unmask();
onComplete(false);
delegate.onFailure(caught);
}
......@@ -551,7 +552,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends ModelData> ex
{
public void handleEvent(SelectionEvent<ModelData> se)
{
boolean enabled = (se.selection.size() > 0);
boolean enabled = se.selection.size() > 0;
button.setEnabled(enabled);
}
......@@ -821,6 +822,7 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends ModelData> ex
exportDataKey);
WindowUtils.openWindow(methodWithParameters.toString());
}
}
// creates a map to quickly find a definition by its identifier
......
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