Change in ovirt-engine[master]: webadmin: user session is kept alive

ecohen at redhat.com ecohen at redhat.com
Wed Jan 15 15:24:57 UTC 2014


Einav Cohen has submitted this change and it was merged.

Change subject: webadmin: user session is kept alive
......................................................................


webadmin: user session is kept alive

When events are updated we trigger RefreshActiveModelEvent
event, which forcefully update current active model, and
causes a refresh in user session. As far as I understand
this event should only be called when running an action.

The result set from events is no longer empty when no new
events happened, instead it contains the last X event.
Updated the logic that determines if a new event happened
in the frontend.

Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
Signed-off-by: Alexander Wels <awels at redhat.com>
Change-Id: Ib99861bfdc41b98ceac0df7103acff5b9074f851
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/SearchableListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java
2 files changed, 5 insertions(+), 5 deletions(-)

Approvals:
  Einav Cohen: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib99861bfdc41b98ceac0df7103acff5b9074f851
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list