ijb
12 Mar 2008, 10:25 PM
I noticed that TabPanels don't parse javascript includes. Embedded javascript is fine though. Is there a workaround for this?
For instance I load external html page which has <script type="text/javascript"><some javascript></script> like this:
tabPanel.add({
title: tabTitle,
iconCls: 'tabs',
autoLoad: {url: targetUrl, callback: this.initSearch, scope: this, scripts: true},
closable:true
}).show();
And it work fine, but if I use this <script type="text/javascript" src="javascript/ext-all-debug.js"></script> in my html page, then it does not.
What gives?
For instance I load external html page which has <script type="text/javascript"><some javascript></script> like this:
tabPanel.add({
title: tabTitle,
iconCls: 'tabs',
autoLoad: {url: targetUrl, callback: this.initSearch, scope: this, scripts: true},
closable:true
}).show();
And it work fine, but if I use this <script type="text/javascript" src="javascript/ext-all-debug.js"></script> in my html page, then it does not.
What gives?