diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-19 16:30:19 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:29 +0200 |
commit | 4be938303314759b23d96904cf90cac3a71c6313 (patch) | |
tree | 277834dd594a9cecd48d7e53c2264a32a8301c3f | |
parent | c3856f2d3bdedba6c869b966cac1494cfa69bb29 (diff) | |
download | freeipa-4be938303314759b23d96904cf90cac3a71c6313.tar.gz freeipa-4be938303314759b23d96904cf90cac3a71c6313.tar.xz freeipa-4be938303314759b23d96904cf90cac3a71c6313.zip |
Don't automatically refresh facet after action success
https://fedorahosted.org/freeipa/ticket/3235
-rw-r--r-- | install/ui/src/freeipa/details.js | 2 | ||||
-rw-r--r-- | 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) { |