changed label
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@144074 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
38172483a1
commit
4740a25a2b
|
@ -175,16 +175,13 @@ public class VersioningInfoContainer extends LayoutContainer {
|
|||
}
|
||||
msg+="<br/>Confirm?";
|
||||
|
||||
String title = selectedItems.size()>1?"Delete version":"Delete versions";
|
||||
title+=" of "+currentVersion.getName();
|
||||
String title = selectedItems.size()>1?"Delete versions":"Delete version";
|
||||
title+=" of: "+currentVersion.getName();
|
||||
final DialogConfirm box = new DialogConfirm(null, title, msg);
|
||||
box.getYesButton().addClickHandler(new ClickHandler() {
|
||||
|
||||
@Override
|
||||
public void onClick(ClickEvent event) {
|
||||
|
||||
GWT.log("Fire event");
|
||||
//Window.alert("Closed");
|
||||
AppController.getEventBus().fireEvent(new FileVersioningEvent(WorkspaceVersioningOperation.DELETE_PERMANENTLY, currentVersion, selectedItems, windowVersioning));
|
||||
box.hide();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue