FixBug.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:30:54 +0000 (22:30 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 14:30:54 +0000 (22:30 +0800)
FixBug.js

FixBug.bjs
FixBug.js

index e227b06..e8066bc 100644 (file)
@@ -9,7 +9,7 @@
             "listeners": {
                 "destroy_event": "function (self, event) {\n     this.el.hide();\n                return false;\n}",
                 "response": "function (self, id) {\n  // hide\n     if (id < 1) {\n        this.el.hide();\n        return;\n    }\n    if (typeof(this.get('bug').getValue()) != 'object') {\n        print(\"ERROR\");\n        return;\n    }\n \n    this.el.hide();\n        \n    //var val = this.get('bug').getValue();\n     //   Seed.print(val);\n}",
-                "show": "function (self) {\n     this.el.fullscreen();\n        this.el.grab_focus();\n        this.el.set_keep_above(true);\n}"
+                "show": "function (self) {\n    this.el.fullscreen();\n    this.el.grab_focus();\n    this.el.set_keep_above(true);\n}"
             },
             "border_width": 3,
             "default_height": 400,
index f0db6f2..36a6100 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -33,9 +33,9 @@ FixBug=new XObject({
              //   Seed.print(val);
         },
         show : function (self) {
-             this.el.fullscreen();
-                this.el.grab_focus();
-                this.el.set_keep_above(true);
+            this.el.fullscreen();
+            this.el.grab_focus();
+            this.el.set_keep_above(true);
         }
     },
     border_width : 3,