Pman.Download.js
authoredward <edward@roojs.com>
Thu, 5 May 2016 05:05:24 +0000 (13:05 +0800)
committeredward <edward@roojs.com>
Thu, 5 May 2016 05:05:24 +0000 (13:05 +0800)
Pman.Download.js

index 0696339..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,
@@ -116,8 +115,7 @@ Pman.Download = function(cfg)
         
         
     }
-    document.testForm[0].submit();return;
-    Roo.log(document.testForm[0].submit());return;
+    
     (function() {
         this.submit = true;
         this.form.dom.submit();