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