Lior Vernia has uploaded a new change for review.

Change subject: webadmin: Save network configuration by default
......................................................................

webadmin: Save network configuration by default

The default used to be to not persist the network configuration, but a
user complained that his configuration unexpectedly got wiped. Now the
default is to persist the configuration.

Change-Id: Ie855130f05291e33df1609878c76e5023527b27c
Bug-Url: https://bugzilla.redhat.com/1079691
Signed-off-by: Lior Vernia <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/37/27837/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
index b742252..0491705 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
@@ -168,7 +168,7 @@
         getCheckConnectivity().setEntity(true);
         setConnectivityTimeout(new EntityModel<Integer>());
         setCommitChanges(new EntityModel<Boolean>());
-        getCommitChanges().setEntity(false);
+        getCommitChanges().setEntity(true);
 
         // ok command
         okCommand = new UICommand("OnSetupNetworks", this); //$NON-NLS-1$


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

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

Reply via email to