Yaniv Bronhaim has uploaded a new change for review.

Change subject: webadmin: Using stored VDS.sshUsername instead of default root 
in reinstall view
......................................................................

webadmin: Using stored VDS.sshUsername instead of default root in reinstall
view

When loading InstallHost model we launched InstallPopupView filled with
root username in the ssh user name area. This patch uses the stored VDS
object and places in the username field the SshUsername that was saved during
first installation.

Change-Id: Ia9870d35f7dbabb102a809d02c356c15dd1bebff
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/18626/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
index 6210cbe..2c0c502 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostGeneralModel.java
@@ -893,7 +893,7 @@
             command.setIsDefault(true);
             model.getCommands().add(command);
         }
-
+        model.getUserName().setEntity(getEntity().getSshUsername());
         UICommand command = new UICommand("Cancel", this); //$NON-NLS-1$
         command.setTitle(isOnlyClose ? constants.close()
                 : constants.cancel());


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9870d35f7dbabb102a809d02c356c15dd1bebff
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to