Change in ovirt-engine[master]: webadmin: fix cpu-profile setting on import dialog

ahadas at redhat.com ahadas at redhat.com
Mon Feb 23 11:19:59 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: webadmin: fix cpu-profile setting on import dialog
......................................................................


webadmin: fix cpu-profile setting on import dialog

In the new two-phases import dialog, the cpu-profile setting was cleared
when switching to the second screen and then back to the first screen.

This patch fix it by not initializing a new instance of
ImportVmFromExportDomainModel on every switch to the second screen.
Instead, we initialize it in advance and use the same instance.

Change-Id: I8bb3e500952949acf3795a5f92dd6160a4df9171
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmsModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java
2 files changed, 37 insertions(+), 34 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Arik Hadas: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8bb3e500952949acf3795a5f92dd6160a4df9171
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list