diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-08-29 17:35:07 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-09-06 09:44:15 +0200 |
commit | 6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8 (patch) | |
tree | 0e46119ffafca1f15b0da8868f72c3d9a16b8da8 /install/ui/sudo.js | |
parent | 6ae286a8f5ec7d1633ec733fbe116550bff7141a (diff) | |
download | freeipa.git-6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8.tar.gz freeipa.git-6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8.tar.xz freeipa.git-6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8.zip |
Notify success on add, delete and update
Notification of success was added to:
* details facet: update
* association facet and association widget: add, delete items
* attribute facet: delete items (notification of add should be handled in entity adder dialog)
* sudo rule: add, remove option
* dnsrecord: add, update, delete
https://fedorahosted.org/freeipa/ticket/2977
Diffstat (limited to 'install/ui/sudo.js')
-rw-r--r-- | install/ui/sudo.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js index d18415ff..ce020b6a 100644 --- a/install/ui/sudo.js +++ b/install/ui/sudo.js @@ -653,6 +653,7 @@ IPA.sudorule_details_facet = function(spec) { that.update_on_success = function(data, text_status, xhr) { that.refresh(); that.on_update.notify(); + that.nofify_update_success(); }; that.update_on_error = function(xhr, text_status, error_thrown) { @@ -819,6 +820,7 @@ IPA.sudo.options_section = function(spec) { on_success: function(data) { that.table.load(data.result.result); dialog.close(); + IPA.notify_success(IPA.messages.objects.sudorule.option_added); }, on_error: function(data) { that.reload(); @@ -880,6 +882,7 @@ IPA.sudo.options_section = function(spec) { } dialog.close(); + IPA.notify_success(IPA.messages.objects.sudorule.option_removed); }, on_error: function(data) { that.reload(); |