FixBug.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 11:14:50 +0000 (19:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Mar 2011 11:14:50 +0000 (19:14 +0800)
FixBug.bjs

index 6ddb683..aefe503 100644 (file)
@@ -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    //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    //this.success = c.success;\n}\n",
             "|xns": "Gtk",
             "items": [
                 {