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

index dd1cdc5..7e7cd23 100644 (file)
@@ -413,11 +413,6 @@ Roo = XObject.define(
             if (top.match(/Dialog/)) {
                 return this.toSourceDialog(true);
             }
-            
-            if (top.match(/Modal/)) {
-                return this.toSourceDialog(true);
-            }
-            
             return this.toSourceLayout(true);