Minor update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@101414 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e54ec554e0
commit
3273314c1c
|
@ -322,7 +322,16 @@ public class CSVTableDetailCard extends WizardCard {
|
||||||
|
|
||||||
if(vFrom!=null && vUntilTo!=null && vFrom.compareTo(vUntilTo)>0){
|
if(vFrom!=null && vUntilTo!=null && vFrom.compareTo(vUntilTo)>0){
|
||||||
Log.debug("Attention Valid From field is higher than Valid Until To field");
|
Log.debug("Attention Valid From field is higher than Valid Until To field");
|
||||||
UtilsGXT3.info("Attention", "Valid From field is higher than Valid Until To field");
|
AlertMessageBox d = new AlertMessageBox("Attention!", "Valid From field is higher than Valid Until To field");
|
||||||
|
d.addHideHandler(new HideHandler() {
|
||||||
|
|
||||||
|
public void onHide(HideEvent event) {
|
||||||
|
getWizardWindow().setEnableNextButton(true);
|
||||||
|
getWizardWindow().setEnableBackButton(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
d.show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue