}, 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