From 6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 29 Aug 2012 17:35:07 +0200 Subject: 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 --- install/ui/association.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install/ui/association.js') diff --git a/install/ui/association.js b/install/ui/association.js index bb10387a..edba681f 100644 --- a/install/ui/association.js +++ b/install/ui/association.js @@ -571,6 +571,7 @@ IPA.association_table_widget = function (spec) { function() { that.refresh(); dialog.close(); + IPA.notify_success(IPA.messages.association.added); }, function() { that.refresh(); @@ -632,6 +633,7 @@ IPA.association_table_widget = function (spec) { function() { that.refresh(); dialog.close(); + IPA.notify_success(IPA.messages.association.removed); }, function() { that.refresh(); @@ -998,6 +1000,7 @@ IPA.association_facet = function (spec, no_init) { on_success: function() { that.refresh(); dialog.close(); + IPA.notify_success(IPA.messages.association.added); }, on_error: function() { that.refresh(); @@ -1049,6 +1052,7 @@ IPA.association_facet = function (spec, no_init) { on_success: function() { that.refresh(); dialog.close(); + IPA.notify_success(IPA.messages.association.removed); }, on_error: function() { that.refresh(); @@ -1308,6 +1312,7 @@ IPA.attribute_facet = function(spec, no_init) { that.load(data); that.show_content(); dialog.close(); + IPA.notify_success(IPA.messages.association.removed); }, function() { that.refresh(); -- cgit