Builder/Provider/File/Roo.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 8 Jun 2010 11:18:20 +0000 (19:18 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 8 Jun 2010 11:18:20 +0000 (19:18 +0800)
Builder/Provider/File/Roo.js

index 6ffe05f..a1b696c 100755 (executable)
@@ -343,7 +343,7 @@ Roo = XObject.define(
                 "        module : " + this.name + ",",
                 "        region : '" + this.region   +"',",
                 "        parent : " + (this.parent ||  'false') + ",",
-                "        name : \"" + (this.title  || "unnamed module") + "\"",
+                "        name : " + JSON.stringify(this.title  || "unnamed module") + ",",
                 "        disabled : " + (this.disabled || 'false') +" ",
                 "    });",
                 "});",