X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hb=1a0a4a8e210ae6708cb6caed163d24970fabd4c9;hp=0696339ff9ea1968a50ef05489195eb3c838cdef;hpb=d05aa783389ce1f9aa394afc31a105fe95456237;p=Pman.Core 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();