]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/SpecEditor.js
Various fixes and "ghost" implementation of reloadBundle.service and flow path.
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / execution / SpecEditor.js
index 59d8e8661cc629c886dcc79571bdf29c83738144..6d8683989e76c9b4ecba346b5ce748c773d5959f 100644 (file)
@@ -232,8 +232,16 @@ qx.Class.define("org.argeo.slc.ria.execution.SpecEditor",
                        }, this);\r
                        this.cancelButton = new qx.ui.form.Button("Close");\r
                        this.cancelButton.addListener("execute", this._closeAndDestroy, this);\r
+\r
+                       this.saveCloseButton = new qx.ui.form.Button("Save & Close");\r
+                       this.saveCloseButton.addListener("execute", function(e){\r
+                               this.fireEvent("save");\r
+                               this._closeAndDestroy();\r
+                       }, this);\r
+                       \r
                        buttonPane.add(this.okButton);\r
                        buttonPane.add(this.cancelButton);\r
+                       buttonPane.add(this.saveCloseButton);\r
                },\r
                /**\r
                 * Close this modal window and destroy it.\r