Martin Betak has uploaded a new change for review.

Change subject: frontend: Fix cancel on remove VM host device dialog
......................................................................

frontend: Fix cancel on remove VM host device dialog

The remove command of VmHostDeviceListModel uses setConfirmWindow
so it has to be also cleared in the cancel() method.

Change-Id: Ic50b92fe4b926f3f738be724aaa1ec97499cda3a
Signed-off-by: Martin Betak <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/VmHostDeviceListModel.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/41836/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/VmHostDeviceListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/VmHostDeviceListModel.java
index 8e8f377..5194d6f 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/VmHostDeviceListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/hostdev/VmHostDeviceListModel.java
@@ -224,6 +224,7 @@
 
     private void cancel() {
         setWindow(null);
+        setConfirmWindow(null);
     }
 
     public UICommand getAddCommand() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic50b92fe4b926f3f738be724aaa1ec97499cda3a
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to