From: Alan Knowles Date: Tue, 2 Feb 2021 02:23:57 +0000 (+0800) Subject: roojs-bootstrap.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=fb03e9251a94c71ccfde626fea05d1d717a7eae1 roojs-bootstrap.js roojs-bootstrap-debug.js Roo/bootstrap/panel/Content.js --- diff --git a/Roo/bootstrap/panel/Content.js b/Roo/bootstrap/panel/Content.js index 2770e59ba7..3c3df3e2d3 100644 --- a/Roo/bootstrap/panel/Content.js +++ b/Roo/bootstrap/panel/Content.js @@ -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); }