From 4be938303314759b23d96904cf90cac3a71c6313 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 19 Apr 2013 16:30:19 +0200 Subject: [PATCH] Don't automatically refresh facet after action success https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/details.js | 2 ++ install/ui/src/freeipa/facet.js | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js index 425e885b0..15239d444 100644 --- a/install/ui/src/freeipa/details.js +++ b/install/ui/src/freeipa/details.js @@ -1108,9 +1108,11 @@ exp.object_action = IPA.object_action = function(spec) { IPA.notify_success(data.result.summary); facet.on_update.notify(); + facet.refresh(); }; that.on_error = function(facet, xhr, text_status, error_thrown) { + facet.refresh(); }; that.get_on_success = function(facet, on_success) { diff --git a/install/ui/src/freeipa/facet.js b/install/ui/src/freeipa/facet.js index a69e9a575..1676acead 100644 --- a/install/ui/src/freeipa/facet.js +++ b/install/ui/src/freeipa/facet.js @@ -2282,13 +2282,9 @@ exp.action_list_widget = IPA.action_list_widget = function(spec) { }; that.on_action_success = function() { - - that.facet.refresh(); }; that.on_action_error = function() { - - that.facet.refresh(); }; that.action_enabled_changed = function(enabled) {