X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hp=0633f0857a76fbc7344022f85525d7f6025b44bc;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=581e27d2c7519091fc412596ea485e6e5e278e02 diff --git a/Pman.Download.js b/Pman.Download.js index 0633f085..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, @@ -119,7 +118,7 @@ Pman.Download = function(cfg) (function() { this.submit = true; - document.testForm.submit(); + this.form.dom.submit(); this.cleanup.defer(this.timeout || 30000,this); }).defer(100, this);