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/service.js | 1 + 1 file changed, 1 insertion(+) (limited to 'install/ui/src/freeipa/service.js') diff --git a/install/ui/src/freeipa/service.js b/install/ui/src/freeipa/service.js index cc26e3b5..788cb95b 100644 --- a/install/ui/src/freeipa/service.js +++ b/install/ui/src/freeipa/service.js @@ -359,6 +359,7 @@ IPA.service_provisioning_status_widget = function (spec) { that.status = values && values.length ? values[0] : false; set_status(that.status ? 'valid' : 'missing'); that.updated.notify([], that); + that.emit('update', { source: that }); }; that.clear = function() { -- cgit