Pman.Download.js
[Pman.Core] / Pman.Download.js
index 2bb23d2..41ff363 100644 (file)
@@ -101,7 +101,7 @@ Pman.Download = function(cfg)
 //        });
 //    }
  
+    Roo.log(this.params);
     for(var i in this.params) {
         
         var el = this.form.createChild( {
@@ -159,6 +159,7 @@ Roo.apply(Pman.Download.prototype, {
             this.csvFrame.src = Roo.SSL_SECURE_URL;
         //}
         document.body.appendChild(this.csvFrame);
+        Roo.get(this.csvFrame).on("load", this.success , this);
 
         if(Roo.isIE){
             document.frames[id].name = id;