summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/hbac.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-23 10:29:50 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:03 +0100
commitf21bc7ecb8cce280972d8953ed0b47e531753255 (patch)
tree3a33b6c4b391a23198e80fbdda3624ad80c15ca2 /install/ui/src/freeipa/hbac.js
parentf6b9c7da9d322eccdee23672e57ca3043ef154c6 (diff)
downloadfreeipa-f21bc7ecb8cce280972d8953ed0b47e531753255.tar.gz
freeipa-f21bc7ecb8cce280972d8953ed0b47e531753255.tar.xz
freeipa-f21bc7ecb8cce280972d8953ed0b47e531753255.zip
Dojo event support in widgets
- widgets has a new base class - Evented it allows raising various events - it's purpose is to replace IPA.observer events in a future - now all widget's IPA.observers events has their own counterpart https://fedorahosted.org/freeipa/ticket/3904
Diffstat (limited to 'install/ui/src/freeipa/hbac.js')
-rw-r--r--install/ui/src/freeipa/hbac.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/hbac.js b/install/ui/src/freeipa/hbac.js
index f912fbd53..ec2144068 100644
--- a/install/ui/src/freeipa/hbac.js
+++ b/install/ui/src/freeipa/hbac.js
@@ -480,6 +480,7 @@ IPA.hbacrule_details_facet = function(spec) {
that.update_on_success = function(data, text_status, xhr) {
that.refresh();
that.on_update.notify();
+ that.emit('update', { source: that });
that.nofify_update_success();
};