Roo/bootstrap/panel/Content.js
authorAlan Knowles <alan@roojs.com>
Tue, 2 Feb 2021 02:19:45 +0000 (10:19 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 2 Feb 2021 02:19:45 +0000 (10:19 +0800)
Roo/bootstrap/panel/Content.js

index bc5dabf..798d3db 100644 (file)
@@ -65,6 +65,16 @@ Roo.bootstrap.panel.Content = function( config){
                     " roo-layout-inactive-content",
                 id: config.id||el
             };
+            if (this.iframe) {
+                elcfg.cn = [
+                    {
+                        tag : 'iframe',
+                        style : 'border 0px',
+                        src : 'about:blank'
+                    }
+                ];
+            }
+              
             if (config.html) {
                 elcfg.html = config.html;