PDA

View Full Version : [FIXED][3.0RC1.1]TreePanel to pass requestMethod to TreeLoader ctor



tryanDLS
5 May 2009, 2:45 PM
In order to allow trees to be loaded via GET, TreePanel.initComponent needs to pass requestMethod into the TreeLoader ctor. This can be tested with the Checkbox Tree example.



var l = this.loader;
if (!l) {
l = new Ext.tree.TreeLoader({
dataUrl: this.dataUrl ,requestMethod: this.requestMethod
});
} else if (typeof l == 'object' && !l.load) {
l = new Ext.tree.TreeLoader(l);
}
this.loader = l;

evant
5 May 2009, 11:44 PM
Added to SVN.