PDA

View Full Version : Small fix for TabPanel



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));
}
},

jack.slocum
27 Sep 2006, 4:18 AM
Thank you. I've added that fix to the .32.1 codebase and it will be in the next release.

Jack