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

index 3177043..d46b0fd 100644 (file)
@@ -445,6 +445,10 @@ Roo = XObject.define(
             if (top.match(/Dialog/)) {
                 return this.toSourceDialog();
             }
+            
+            if (top.match(/Modal/)) {
+                return this.toSourceModal(true);
+            }
             return this.toSourceLayout();
             
             /*