Maor Lipchuk has uploaded a new change for review.

Change subject: webadmin: new pool - update disks list on template change
......................................................................

webadmin: new pool - update disks list on template change

Ensure that IsDiskAvailable event sent on template change
(needed for updating the disk list in Resource Allocation).

Change-Id: Iced3c362de531ef3c4754ef3130563c7f6f47d1f
Bug-Url: https://bugzilla.redhat.com/957044
Signed-off-by: Maor Lipchuk <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
1 file changed, 2 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/14286/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
index 93b8347..0decf09 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
@@ -924,11 +924,8 @@
 
     public void setIsDisksAvailable(boolean value)
     {
-        if (isDisksAvailable != value)
-        {
-            isDisksAvailable = value;
-            onPropertyChanged(new 
PropertyChangedEventArgs("IsDisksAvailable")); //$NON-NLS-1$
-        }
+        isDisksAvailable = value;
+        onPropertyChanged(new PropertyChangedEventArgs("IsDisksAvailable")); 
//$NON-NLS-1$
     }
 
     private boolean isHostAvailable;


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

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

Reply via email to