mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 09:21:59 -06:00
Don't automatically refresh facet after action success
https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
parent
c3856f2d3b
commit
4be9383033
@ -1108,9 +1108,11 @@ exp.object_action = IPA.object_action = function(spec) {
|
|||||||
|
|
||||||
IPA.notify_success(data.result.summary);
|
IPA.notify_success(data.result.summary);
|
||||||
facet.on_update.notify();
|
facet.on_update.notify();
|
||||||
|
facet.refresh();
|
||||||
};
|
};
|
||||||
|
|
||||||
that.on_error = function(facet, xhr, text_status, error_thrown) {
|
that.on_error = function(facet, xhr, text_status, error_thrown) {
|
||||||
|
facet.refresh();
|
||||||
};
|
};
|
||||||
|
|
||||||
that.get_on_success = function(facet, on_success) {
|
that.get_on_success = function(facet, on_success) {
|
||||||
|
@ -2282,13 +2282,9 @@ exp.action_list_widget = IPA.action_list_widget = function(spec) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
that.on_action_success = function() {
|
that.on_action_success = function() {
|
||||||
|
|
||||||
that.facet.refresh();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
that.on_action_error = function() {
|
that.on_action_error = function() {
|
||||||
|
|
||||||
that.facet.refresh();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
that.action_enabled_changed = function(enabled) {
|
that.action_enabled_changed = function(enabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user