Don't automatically refresh facet after action success

https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
Petr Vobornik 2013-04-19 16:30:19 +02:00
parent c3856f2d3b
commit 4be9383033
2 changed files with 2 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {