Clones.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 13 Sep 2011 03:30:38 +0000 (11:30 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 13 Sep 2011 03:30:38 +0000 (11:30 +0800)
Clones.bjs

index 7c8cda9..9ece0cb 100644 (file)
@@ -7,7 +7,7 @@
     "items": [
         {
             "listeners": {
-                "destroy_event": "function (self, event) {\n     this.el.hide();\n                return false;\n}",
+                "destroy_event": "function (self, event) {\n      \n     return true;\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}"
             },
             "border_width": 3,