Tomas Jelinek has submitted this change and it was merged.
Change subject: usertportal: Console buttons are still active after VM is launched.
......................................................................
usertportal: Console buttons are still active after VM is launched.
After spice console connecting/disconnecting in extended usertportar view, the
ui state of the console buttons was not updated. This behavior is reproducible
since patch 09f1acafa2a508f90ea9a7a77f79693d8e8224d6 in upstream.
The problem was in not comparing console state in the logic that was
responsible for deciding whether to refresh the view. Fixed by adding
check for console state change (console username).
Change-Id: I6b260c338dbc2f1156f00732842caf59d7fd1bb2
Bug-Url:
https://bugzilla.redhat.com/951666
Signed-off-by: Frantisek Kobzik <fkobzik(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/UserPortalItemModel.java
1 file changed, 7 insertions(+), 2 deletions(-)
Approvals:
Tomas Jelinek: Looks good to me, approved
Frank Kobzik: Verified
--
To view, visit
http://gerrit.ovirt.org/14641
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6b260c338dbc2f1156f00732842caf59d7fd1bb2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>