From f21bc7ecb8cce280972d8953ed0b47e531753255 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 23 Oct 2013 10:29:50 +0200 Subject: 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 --- install/ui/src/freeipa/user.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/ui/src/freeipa/user.js') diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index c274d315..c141ea3f 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() { -- cgit