From: Alan Knowles Date: Wed, 30 Mar 2011 11:21:04 +0000 (+0800) Subject: FixBug.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=a8d90350296166c00dd03ae6cfcaa8d96207abbb FixBug.bjs --- diff --git a/FixBug.bjs b/FixBug.bjs index 02442ce5..ac9f7d5c 100644 --- a/FixBug.bjs +++ b/FixBug.bjs @@ -17,7 +17,7 @@ "xtype": "Dialog", "|deletable": true, "|modal": true, - "|show": "function(c) {\n \n if (!this.el) {\n this.init();\n }\n var _this = this;\n /*[ 'xtype' ].forEach(function(k) {\n _this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]);\n });\n\t// shouild set path..\n */\n this.el.show_all();\n \n // block until we return.\n this.el.run();\n \n print(JSON.stringify(this.get('bug').getValue()));\n \n //this.success = c.success;\n}\n", + "|show": "function(c) {\n \n if (!this.el) {\n this.init();\n }\n var _this = this;\n /*[ 'xtype' ].forEach(function(k) {\n _this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]);\n });\n\t// shouild set path..\n */\n this.el.show_all();\n \n // block until we return.\n this.el.run();\n \n //print(JSON.stringify(this.get('bug').getValue()));\n return this.get('bug').getValue();\n //this.success = c.success;\n}\n", "|xns": "Gtk", "items": [ {