Asaf Shakarchi has uploaded a new change for review. Change subject: webadmin: Renamed EventListModel.forceRefrest->forceRefreshWithoutTimers. ......................................................................
webadmin: Renamed EventListModel.forceRefrest->forceRefreshWithoutTimers. Renamed EventListModel.forceRefrest() to forceRefreshWithoutTimers() to avoid confusion with ForceRefresh:ForceRefresh(). Change-Id: Ic3fa5c0aea31163099c26ff980439b4446b5471e Signed-off-by: Asaf Shakarchi <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/SubTabEventListModel.java 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/20/11720/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java index 7ffd380..33ed80c 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/EventListModel.java @@ -130,10 +130,10 @@ // Force refresh of the event list when the event tab is shown // without waiting to the timer. This is invoked only the first // time the Events tab is shown - than the timer takes care of this. - forceRefresh(); + forceRefreshWithoutTimers(); } - protected void forceRefresh() { + protected void forceRefreshWithoutTimers() { getRefreshCommand().Execute(); } diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/SubTabEventListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/SubTabEventListModel.java index f485b06..5e3d0f1 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/SubTabEventListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/events/SubTabEventListModel.java @@ -3,10 +3,10 @@ public class SubTabEventListModel extends EventListModel { @Override - protected void forceRefresh() { + protected void forceRefreshWithoutTimers() { // enable refresh for the sub tab only when the entity is set up. if (getEntity() != null) { - super.forceRefresh(); + super.forceRefreshWithoutTimers(); } } } -- To view, visit http://gerrit.ovirt.org/11720 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic3fa5c0aea31163099c26ff980439b4446b5471e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Asaf Shakarchi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
