JsRender/Roo.js
authorEdward <edward@roojs.com>
Tue, 29 Apr 2014 09:01:05 +0000 (17:01 +0800)
committerEdward <edward@roojs.com>
Tue, 29 Apr 2014 09:01:05 +0000 (17:01 +0800)
JsRender/Roo.js

index e5d0977..dd1cdc5 100644 (file)
@@ -409,11 +409,15 @@ Roo = XObject.define(
                 return false;
             }
             
-            print('here is the top!!!!!!!!!!!!!!!!!!!!11');
-            print(top);
+            
             if (top.match(/Dialog/)) {
                 return this.toSourceDialog(true);
             }
+            
+            if (top.match(/Modal/)) {
+                return this.toSourceDialog(true);
+            }
+            
             return this.toSourceLayout(true);