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

Roo/bootstrap/panel/Content.js

index 2770e59..3c3df3e 100644 (file)
@@ -314,6 +314,11 @@ panel.load({
      * @return {Roo.ContentPanel} this
      */
     load : function(){
+        
+        if (this.iframe) {
+            return this;
+        }
+        
         var um = this.el.getUpdateManager();
         um.update.apply(um, arguments);
         return this;
@@ -328,6 +333,11 @@ panel.load({
      * @return {Roo.UpdateManager} The UpdateManager
      */
     setUrl : function(url, params, loadOnce){
+        if (this.iframe) {
+            this.iframeEl.dom.src = url;
+            return;
+        }
+        
         if(this.refreshDelegate){
             this.removeListener("activate", this.refreshDelegate);
         }