Ramesh N has uploaded a new change for review.

Change subject: webadmin: update hash name for remove brick status
......................................................................

webadmin: update hash name for remove brick status

  Updating the hash name for remove brick and rebalance
status pop ups.

Change-Id: Ia7b359a9a0f9c004b1ab6b654d77bd28a08027c6
Bug-Url: https://bugzilla.redhat.com/1044932
Signed-off-by: Ramesh Nachimuthu <rnach...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
2 files changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/78/22578/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
index c72d97a..6b6ff65 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeBrickListModel.java
@@ -984,10 +984,11 @@
             }
         }
         final ConfirmationModel cModel = new ConfirmationModel();
+        cModel.setHashName("volume_remove_bricks_status"); ////$NON-NLS-1$
+
         UICommand removeBrickStatusOk = new UICommand("CancelConfirmation", 
VolumeBrickListModel.this);//$NON-NLS-1$
         
removeBrickStatusOk.setTitle(ConstantsManager.getInstance().getConstants().ok());
         removeBrickStatusOk.setIsCancel(true);
-
         
cModel.startProgress(ConstantsManager.getInstance().getConstants().rebalanceStatusFetchMessage());
         cModel.getCommands().add(removeBrickStatusOk);
         
cModel.setTitle(ConstantsManager.getInstance().getConstants().removeBricksStatusTitle());
@@ -1027,7 +1028,7 @@
                         
removeBrickStatusModel.setTitle(ConstantsManager.getInstance()
                                 .getConstants()
                                 .removeBricksStatusTitle());
-                        
removeBrickStatusModel.setHashName("remove_bricks_status"); ////$NON-NLS-1$
+                        
removeBrickStatusModel.setHashName("volume_remove_bricks_status"); 
////$NON-NLS-1$
 
                         setWindow(removeBrickStatusModel);
 
diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
index c4a941f..49582f7 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/volumes/VolumeListModel.java
@@ -605,7 +605,7 @@
                                 .getConstants()
                                 .volumeRebalanceStatusTitle());
                         setWindow(rebalanceStatusModel);
-
+                        
rebalanceStatusModel.setHashName("volume_rebalance_status"); //$NON-NLS-1$
                         
rebalanceStatusModel.getVolume().setEntity(volumeEntity.getName());
                         
rebalanceStatusModel.getCluster().setEntity(volumeEntity.getVdsGroupName());
 


-- 
To view, visit http://gerrit.ovirt.org/22578
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7b359a9a0f9c004b1ab6b654d77bd28a08027c6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ramesh N <rnach...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to