X-Git-Url: https://git.argeo.org/?p=lgpl%2Fargeo-commons.git;a=blobdiff_plain;f=security%2Fruntime%2Forg.argeo.security.ria%2Fsrc%2Fargeo-ria-lib%2Fsecurity%2Fclass%2Forg%2Fargeo%2Fsecurity%2Fria%2FUserEditorApplet.js;h=772cf2e7fc18deb8ec57ce34581573a1c0d38225;hp=1960ff8dc65bd89b27e915db01660dbfc4bec9f2;hb=83061f79058ddddf7a888a4580c913d5caa18c91;hpb=92d921b154323c10abfe751d0b3df2bd3e7c97be diff --git a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/UserEditorApplet.js b/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/UserEditorApplet.js index 1960ff8dc..772cf2e7f 100644 --- a/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/UserEditorApplet.js +++ b/security/runtime/org.argeo.security.ria/src/argeo-ria-lib/security/class/org/argeo/security/ria/UserEditorApplet.js @@ -147,12 +147,19 @@ qx.Class.define("org.argeo.security.ria.UserEditorApplet", this.passGB.add(this.passPane.getContainer()); this.naturesTab = new qx.ui.tabview.TabView("top"); - this.simpleNature = new org.argeo.security.ria.components.SimpleUserNatureImpl(); + this.simpleNature = new org.argeo.security.ria.components.SimpleUserNatureImpl(); var page1 = new qx.ui.tabview.Page(this.simpleNature.getNatureLabel()); page1.setLayout(new qx.ui.layout.Dock()); page1.add(this.simpleNature.getContainer(), {edge:"center"}); this.naturesTab.add(page1); + + this.coWorkerNature = new org.argeo.security.ria.components.CoworkerNatureImpl(); + var page2 = new qx.ui.tabview.Page(this.coWorkerNature.getNatureLabel()); + page2.setLayout(new qx.ui.layout.Dock()); + page2.add(this.coWorkerNature.getContainer(), {edge:"center"}); + this.naturesTab.add(page2); + this.naturesGB.add(this.naturesTab, {edge:"center"}); }, @@ -170,6 +177,9 @@ qx.Class.define("org.argeo.security.ria.UserEditorApplet", this.simpleNature.addListener("modified", function(){ this.setModified(true); }, this); + this.coWorkerNature.addListener("modified", function(){ + this.setModified(true); + }, this); }, _initializeGroupBox: function(groupBox){