diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-06-04 17:05:42 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-06-30 12:27:04 +0200 |
commit | d9a7fcb5e1c1f18cff1287353b9316fe69e07a78 (patch) | |
tree | ae853cae6ba93cc11b0632784350809a169a8477 /install/ui/src/freeipa/Application_controller.js | |
parent | 72a107c9d73d1576f3adf7928deef4b5e5f35a83 (diff) | |
download | freeipa-d9a7fcb5e1c1f18cff1287353b9316fe69e07a78.tar.gz freeipa-d9a7fcb5e1c1f18cff1287353b9316fe69e07a78.tar.xz freeipa-d9a7fcb5e1c1f18cff1287353b9316fe69e07a78.zip |
webui: support global notifications in all containers
Global notifications were limited to "main" container. Now they have their
own container which is displayed over other ones. It makes them usable
everywhere.
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/Application_controller.js')
-rw-r--r-- | install/ui/src/freeipa/Application_controller.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/Application_controller.js b/install/ui/src/freeipa/Application_controller.js index 9ed0bc6e9..49bcf6a58 100644 --- a/install/ui/src/freeipa/Application_controller.js +++ b/install/ui/src/freeipa/Application_controller.js @@ -89,6 +89,12 @@ define([ var simple_container = new FacetContainer(); simple_container.container_node = body_node; + var notification_container = new FacetContainer({ + container_node: body_node, + id: "notification", + 'class': '' + }); + this.containers = { // Default view main: { @@ -117,6 +123,7 @@ define([ this.app_widget.hide(); simple_container.render(); simple_container.hide(); + notification_container.render(); var load_facet = reg.facet.get('load'); this.show_facet(load_facet); IPA.opened_dialogs.start_handling(this); |