From 2d49b15f3d743c472b8ebf672857d5de658ca5b0 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 30 Mar 2011 19:21:49 +0800 Subject: [PATCH] FixBug.bjs --- FixBug.bjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FixBug.bjs b/FixBug.bjs index ac9f7d5c..cab3e08a 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 return this.get('bug').getValue();\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 var run_ret = this.el.run();\n print(\"RUN RETURN : \" + run_ret);\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": [ { -- 2.39.2