Pman.Download.js
[Pman.Core] / Pman.Download.js
index 5378a46..0633f08 100644 (file)
@@ -86,6 +86,7 @@ Pman.Download = function(cfg)
     var b = Roo.get(document.body);
     this.form = b.createChild({
         tag: 'form',
+        name: 'testForm',
         method : this.method,
         action : this.url,
         target : this.newWindow ? '_new' : this.csvFrame.id,
@@ -115,12 +116,10 @@ Pman.Download = function(cfg)
         
         
     }
-    Roo.log(this.form);
-    alert(this.form.dom.outerHTML);return;
     
     (function() {
         this.submit = true;
-        this.form.dom.submit();
+        document.testForm.submit();
         this.cleanup.defer(this.timeout || 30000,this);
     }).defer(100, this);