X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Download.js;h=62e845b705b538e49ac07548a74e625f89eb4998;hp=07103f673ef05ce3d67afffb772585f98aefea0b;hb=HEAD;hpb=b5897f1dacc0757af5a56e3bbe7af4c8cbb39fa1 diff --git a/Pman.Download.js b/Pman.Download.js index 07103f67..f4584d28 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -18,8 +18,9 @@ var t = new Pman.Download({ * * @constructor * @param {Object} cfg Configuration object. +* @cfg {Object} params params to send * @cfg {String} url Location to download from. -* @cfg {String} method GET or POST (default GET), POST will create a form, and post that into the hidden frame. +* @cfg {String} method (GET|POST) GET or POST (default GET), POST will create a form, and post that into the hidden frame. * @cfg {Boolean} newWindow (optional) download to new window * @cfg {String} doctype (optional) download PDF to new window * @cfg {Boolean} limit (optional) limit for grid downloads. @@ -200,7 +201,7 @@ Roo.apply(Pman.Download.prototype, { hiddenCols : 'show', // set to 'hide' to hide them.. - + showDownloading : false, // private.. //used by simple GET method. createCsvFrame: function() @@ -310,7 +311,7 @@ Roo.apply(Pman.Download.prototype, { }); - if(ds.sortInfo && ds.remoteSort){ + if(ds.sortInfo && ds.remoteSort){ var pn = ds.paramNames; this.params[pn["sort"]] = ds.sortInfo.field; this.params[pn["dir"]] = ds.sortInfo.direction;