summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/add.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-09-20 13:47:39 +0200
committerAlexander Bokovoy <abokovoy@redhat.com>2014-02-11 15:02:52 +0200
commitc54c001e70a25e818bb45f5de67e2de5cbf1bcac (patch)
treea9a833d6ec71ed1afaaedfd611db10e5c329a181 /install/ui/src/freeipa/add.js
parent4d63a6d42d5a2e2d1500d3e97219f28f91766959 (diff)
downloadfreeipa-c54c001e70a25e818bb45f5de67e2de5cbf1bcac.tar.gz
freeipa-c54c001e70a25e818bb45f5de67e2de5cbf1bcac.tar.xz
freeipa-c54c001e70a25e818bb45f5de67e2de5cbf1bcac.zip
Added QRcode generation to Web UI
https://fedorahosted.org/freeipa/ticket/3369
Diffstat (limited to 'install/ui/src/freeipa/add.js')
-rw-r--r--install/ui/src/freeipa/add.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/add.js b/install/ui/src/freeipa/add.js
index 23eac54d6..22761c5ad 100644
--- a/install/ui/src/freeipa/add.js
+++ b/install/ui/src/freeipa/add.js
@@ -84,7 +84,7 @@ IPA.entity_adder_dialog = function(spec) {
that.hide_message();
that.add(
function(data, text_status, xhr) {
- that.added.notify();
+ that.added.notify([data], that);
that.show_message(that.get_success_message(data));
that.reset();
that.focus_first_element();
@@ -100,7 +100,7 @@ IPA.entity_adder_dialog = function(spec) {
that.hide_message();
that.add(
function(data, text_status, xhr) {
- that.added.notify();
+ that.added.notify([data], that);
that.close();
var result = data.result.result;
that.show_edit_page(that.entity, result);
@@ -129,7 +129,7 @@ IPA.entity_adder_dialog = function(spec) {
that.hide_message();
that.add(
function(data, text_status, xhr) {
- that.added.notify();
+ that.added.notify([data], that);
that.close();
that.notify_success(data);
},