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

index 38449eb..ac3263d 100644 (file)
@@ -375,6 +375,9 @@ Roo = XObject.define(
             if (isPreview) {
                 parent = 'false'
             }
+            if (this.parent && this.parent == '(') {
+                parent  = this.parent;
+            }
           
             return [
                 this.outputHeader(),