}
- if (cfg.newWindow) {
+ if (this.newWindow && this.method == 'GET') {
// as ie seems buggy...
window.open( cfg.url + '?' + Roo.urlEncode(cfg.params || {}), '_blank');
return ;
tag: 'form',
method : this.method,
action : this.url,
- target : this.csvFrame.id,
+ target : this.newWindow ? '_new' : this.csvFrame.id,
enctype : 'multipart/form-data'
limit : 9999,
+ newWindow : false,
+
+ method : 'GET',
+
// private..
createCsvFrame: function()
{
}
this.params.limit = this.limit;
+ // do it as a post, as args can get long..
+ this.params._get = 1;
+ this.method = 'POST';
}