fix #8131 - chinese translations
[Pman.Core] / Pman.Download.js
index 62e845b..f4584d2 100644 (file)
@@ -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.
@@ -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;