JsRender/Roo.js
authorAlan Knowles <alan@roojs.com>
Thu, 3 Jan 2013 10:22:08 +0000 (18:22 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 3 Jan 2013 10:22:08 +0000 (18:22 +0800)
JsRender/Roo.js

index ac3263d..a310e99 100644 (file)
@@ -375,7 +375,7 @@ Roo = XObject.define(
             if (isPreview) {
                 parent = 'false'
             }
-            if (this.parent && this.parent == '(') {
+            if (this.parent && this.parent[0] == '(') {
                 parent  = this.parent;
             }