X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hp=db00d686051d5de1ea8bbf6beb12e8b8ab372c27;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=d04232beace50c2f7229cd88fe2bcf3fffb20988 diff --git a/Pman.Download.js b/Pman.Download.js index db00d686..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.submit(); - Roo.log(document.testForm.submit());return; + (function() { this.submit = true; this.form.dom.submit();