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 <ybron...@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 <ybron...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to