Builder/Provider/File/Roo.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 24 Jun 2010 05:20:27 +0000 (13:20 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 24 Jun 2010 05:20:27 +0000 (13:20 +0800)
Builder/Provider/File/Roo.js

index 2b987c5..7703651 100755 (executable)
@@ -387,9 +387,13 @@ Roo = XObject.define(
                 "    parent   : "+ (this.parent ?  "'" + this.parent + "'" :  'false') + ",",
                 "    name     : " + JSON.stringify(this.title  || "unnamed module") + ",",
                 "    disabled : " + (this.disabled || 'false') +", ",
-                "    items : [ ",
-                "        " + o,
-                "    ]",
+                "    items : function()",
+                "    {",
+                "        _this = this;
+                "       return " + o + ';',
+                "    }",
+                   
+                
                 "});",
                 ""