diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-10-23 10:29:50 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-01-21 12:04:03 +0100 |
commit | f21bc7ecb8cce280972d8953ed0b47e531753255 (patch) | |
tree | 3a33b6c4b391a23198e80fbdda3624ad80c15ca2 /install/ui/src/freeipa/user.js | |
parent | f6b9c7da9d322eccdee23672e57ca3043ef154c6 (diff) | |
download | freeipa-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/user.js')
-rw-r--r-- | install/ui/src/freeipa/user.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index c274d3157..c141ea3f0 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -501,6 +501,7 @@ IPA.user_password_widget = function(spec) { that.display_control.text(that.unset_value); } that.updated.notify([], that); + that.emit('update', { source: that }); }; that.clear = function() { |