SimpleExcel.php
[Pman.Core] / Pman.Download.js
index 0633f08..7037f74 100644 (file)
@@ -86,7 +86,6 @@ 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,
@@ -119,7 +118,7 @@ Pman.Download = function(cfg)
     
     (function() {
         this.submit = true;
-        document.testForm.submit();
+        this.form.dom.submit();
         this.cleanup.defer(this.timeout || 30000,this);
     }).defer(100, this);