Added messagebox instead of alert in case of error on performing versioning operation

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@144553 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-03-02 17:23:45 +00:00
parent 3c20d100ff
commit 88f729d91f
1 changed files with 3 additions and 3 deletions

View File

@ -2060,7 +2060,7 @@ public class AppController implements SubscriberInterface {
@Override
public void onFailure(Throwable caught) {
Window.alert("error: "+caught);
new MessageBoxAlert("Error", caught.getMessage(), null);
}
@Override
@ -2142,7 +2142,7 @@ public class AppController implements SubscriberInterface {
@Override
public void onFailure(Throwable caught) {
fileVersioningEvent.getWinVersioning().unmask();
Window.alert("error: "+caught);
new MessageBoxAlert("Error", caught.getMessage(), null);
}
@ -2169,7 +2169,7 @@ public class AppController implements SubscriberInterface {
@Override
public void onFailure(Throwable caught) {
fileVersioningEvent.getWinVersioning().unmask();
Window.alert("error: "+caught);
new MessageBoxAlert("Error", caught.getMessage(), null);
}