gordon
27 Sep 2006, 2:10 AM
Jack,
First of all thank you for providing such a useful and well constructed library.
In using TabPanel from v.31 I came across the "loadOnce" parameter in the API which was not being used. I include my fix to the function for your consideration below.
Regards,
Gordon
tabpanel.js, line 295:
/** @private */
_handleRefresh : function(url, params, loadOnce){
if(!loadOnce || !this.loaded){
var updater = this.bodyEl.getUpdateManager();
updater.update(url, params, this._setLoaded.createDelegate(this));
}
},
First of all thank you for providing such a useful and well constructed library.
In using TabPanel from v.31 I came across the "loadOnce" parameter in the API which was not being used. I include my fix to the function for your consideration below.
Regards,
Gordon
tabpanel.js, line 295:
/** @private */
_handleRefresh : function(url, params, loadOnce){
if(!loadOnce || !this.loaded){
var updater = this.bodyEl.getUpdateManager();
updater.update(url, params, this._setLoaded.createDelegate(this));
}
},