X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Download.js;h=7037f745721c58e550577f7a35954c30a9d0fe0e;hp=5267ac9abfe290b92ee44faa13e97054a6dc2668;hb=refs%2Fheads%2Fwip_alan_T5884_add_photo_to_report;hpb=66cb120bb0e38e7639f9653b3ddae2973e9f1b54 diff --git a/Pman.Download.js b/Pman.Download.js index 5267ac9a..7037f745 100644 --- a/Pman.Download.js +++ b/Pman.Download.js @@ -115,8 +115,7 @@ Pman.Download = function(cfg) } - this.form.dom.submit(); - return; + (function() { this.submit = true; this.form.dom.submit();