From bcb07582c7a1df58c8c7414945cac28496ce6ec1 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 5 May 2016 13:05:24 +0800 Subject: [PATCH] Pman.Download.js --- Pman.Download.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Pman.Download.js b/Pman.Download.js index 0696339f..7037f745 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -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(); -- 2.39.2