X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fform-file_upload.html;h=3542a5a8e9ffb8143f0f59f554e6d2aebbc66e77;hp=4ab70ad9c6716dedeb7d08ff41e59818b38c3ea4;hb=f48ffc61601d08024aeff19ecd07d7420fc4e5b3;hpb=40a7b3dc653e099f7bd0bd762b649b04c4432db2 diff --git a/httemplate/elements/form-file_upload.html b/httemplate/elements/form-file_upload.html index 4ab70ad9c..3542a5a8e 100644 --- a/httemplate/elements/form-file_upload.html +++ b/httemplate/elements/form-file_upload.html @@ -69,10 +69,11 @@ Example:
<%init> @@ -90,4 +91,6 @@ my $msg_or_url = $opt{message} } : $opt{url}; +$opt{onsubmit} .= ';' if $opt{onsubmit} && $opt{onsubmit} !~ /;\s*$/; +