Shubhendu Tripathi has uploaded a new change for review.

Change subject: webadmin: Corrected duplicate OK button
......................................................................

webadmin: Corrected duplicate OK button

Change-Id: I061fa4540839cfb6d0285365b41fca218e17a782
Bug-Url: https://bugzilla.redhat.com/1224734
Signed-off-by: Shubhendu Tripathi <shtri...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotListModel.java
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/07/41407/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotListModel.java
index 55edd8b..22bbd6d 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotListModel.java
@@ -292,7 +292,6 @@
         UICommand okCommand = new UICommand("onDeleteSnapshot", this); 
//$NON-NLS-1$
         okCommand.setTitle(ConstantsManager.getInstance().getConstants().ok());
         okCommand.setIsDefault(true);
-        getConfirmWindow().getCommands().add(okCommand);
         model.getCommands().add(okCommand);
         UICommand cancelCommand = new UICommand("cancelConfirmation", this); 
//$NON-NLS-1$
         
cancelCommand.setTitle(ConstantsManager.getInstance().getConstants().cancel());
@@ -341,7 +340,6 @@
         UICommand okCommand = new UICommand("onDeleteAllSnapshots", this); 
//$NON-NLS-1$
         okCommand.setTitle(ConstantsManager.getInstance().getConstants().ok());
         okCommand.setIsDefault(true);
-        getConfirmWindow().getCommands().add(okCommand);
         model.getCommands().add(okCommand);
         UICommand cancelCommand = new UICommand("cancelConfirmation", this); 
//$NON-NLS-1$
         
cancelCommand.setTitle(ConstantsManager.getInstance().getConstants().cancel());
@@ -368,7 +366,6 @@
         UICommand okCommand = new UICommand("onActivateSnapshot", this); 
//$NON-NLS-1$
         okCommand.setTitle(ConstantsManager.getInstance().getConstants().ok());
         okCommand.setIsDefault(true);
-        getConfirmWindow().getCommands().add(okCommand);
         model.getCommands().add(okCommand);
         UICommand cancelCommand = new UICommand("cancelConfirmation", this); 
//$NON-NLS-1$
         
cancelCommand.setTitle(ConstantsManager.getInstance().getConstants().cancel());
@@ -398,7 +395,6 @@
         UICommand okCommand = new UICommand("onDeactivateSnapshot", this); 
//$NON-NLS-1$
         okCommand.setTitle(ConstantsManager.getInstance().getConstants().ok());
         okCommand.setIsDefault(true);
-        getConfirmWindow().getCommands().add(okCommand);
         model.getCommands().add(okCommand);
         UICommand cancelCommand = new UICommand("cancelConfirmation", this); 
//$NON-NLS-1$
         
cancelCommand.setTitle(ConstantsManager.getInstance().getConstants().cancel());


-- 
To view, visit https://gerrit.ovirt.org/41407
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I061fa4540839cfb6d0285365b41fca218e17a782
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to