Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@90451 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d2f759708e
commit
ba6090e85f
|
@ -32,7 +32,6 @@ public class ErrorMessageBox {
|
||||||
{
|
{
|
||||||
final MessageBox box = new MessageBox(title);
|
final MessageBox box = new MessageBox(title);
|
||||||
box.setMessage(failureReason);
|
box.setMessage(failureReason);
|
||||||
box.getHideButton().setText(DETAILS);
|
|
||||||
box.addHideHandler(new HideHandler() {
|
box.addHideHandler(new HideHandler() {
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +39,7 @@ public class ErrorMessageBox {
|
||||||
Dialog dialog = (Dialog) event.getSource();
|
Dialog dialog = (Dialog) event.getSource();
|
||||||
|
|
||||||
if (dialog.getHideButton().getText().equals(DETAILS)){
|
if (dialog.getHideButton().getText().equals(DETAILS)){
|
||||||
//box.close();
|
|
||||||
showErrorDetails("Error details", failureDetails);
|
showErrorDetails("Error details", failureDetails);
|
||||||
} else callback.onSuccess(dialog);
|
} else callback.onSuccess(dialog);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue