added a fix on window versions

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@144200 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-02-23 14:54:53 +00:00
parent f4f000dded
commit 6a6c5d1599
1 changed files with 14 additions and 11 deletions

View File

@ -225,6 +225,8 @@ public class VersioningInfoContainer extends LayoutContainer {
@Override
public void componentSelected(ButtonEvent ce) {
if(store.getModels().size()>0){
String msg = "Deleting all older versions of: <br/> - "+ currentVersion.getName()+"." +
"<br/>Confirm?";
DialogConfirm box = new DialogConfirm(null, "Delete older versions of: "+ currentVersion.getName(), msg);
@ -237,6 +239,7 @@ public class VersioningInfoContainer extends LayoutContainer {
});
box.setModal(true);
box.center();
}
}
});