summaryrefslogtreecommitdiffstats
path: root/install/ui/association.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-08-29 17:35:07 +0200
committerPetr Vobornik <pvoborni@redhat.com>2012-09-06 09:44:15 +0200
commit6a8d6d3fde0ede2e0b976cd5af67a57c0691b1f8 (patch)
tree0e46119ffafca1f15b0da8868f72c3d9a16b8da8 /install/ui/association.js
parent6ae286a8f5ec7d1633ec733fbe116550bff7141a (diff)
downloadfreeipa.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/association.js')
-rw-r--r--install/ui/association.js5
1 files changed, 5 insertions, 0 deletions
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();