JsRender/Roo.js
authorEdward <edward@roojs.com>
Tue, 29 Apr 2014 08:58:10 +0000 (16:58 +0800)
committerEdward <edward@roojs.com>
Tue, 29 Apr 2014 08:58:10 +0000 (16:58 +0800)
JsRender/Roo.js

index 5ab2a44..dd1cdc5 100644 (file)
@@ -408,11 +408,16 @@ Roo = XObject.define(
             if (!top) {
                 return false;
             }
-            print_r(top);
+            
             
             if (top.match(/Dialog/)) {
                 return this.toSourceDialog(true);
             }
+            
+            if (top.match(/Modal/)) {
+                return this.toSourceDialog(true);
+            }
+            
             return this.toSourceLayout(true);