Oved Ourfali has submitted this change and it was merged.
Change subject: Avoid updating fields when uneccessary
......................................................................
Avoid updating fields when uneccessary
When filling lists of hosts the change event is raised. To avoid
updating fields when we don't need it, do this update only in the right
state - if discovered host form is enabled for example, this to avoid
overriding the fields while fetching hosts info from foreman.
Change-Id: I7de552c03e361b5186c6781eabd6dc4da34f9fb5
Signed-off-by: Yaniv Bronhaim <ybronhei(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/NewHostModel.java
1 file changed, 16 insertions(+), 12 deletions(-)
Approvals:
Yaniv Bronhaim: Verified
Daniel Erez: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/36159
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7de552c03e361b5186c6781eabd6dc4da34f9fb5
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server