projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 31208 Docs $FS::Record::qsearch_qualify_columns
[freeside.git]
/
httemplate
/
elements
/
form-file_upload.html
diff --git
a/httemplate/elements/form-file_upload.html
b/httemplate/elements/form-file_upload.html
index
4ab70ad
..
45b6c97
100644
(file)
--- a/
httemplate/elements/form-file_upload.html
+++ b/
httemplate/elements/form-file_upload.html
@@
-72,7
+72,7
@@
Example:
ACTION = "<% $fsurl %>misc/file-upload.html"
METHOD = "POST"
ENCTYPE = "multipart/form-data"
ACTION = "<% $fsurl %>misc/file-upload.html"
METHOD = "POST"
ENCTYPE = "multipart/form-data"
- onSubmit = "return doUpload(this, <% $opt{key} %>gotUploaded)"
+ onSubmit = "
<% $opt{onsubmit} %>
return doUpload(this, <% $opt{key} %>gotUploaded)"
>
<%init>
>
<%init>
@@
-90,4
+90,6
@@
my $msg_or_url = $opt{message}
}
: $opt{url};
}
: $opt{url};
+$opt{onsubmit} .= ';' if $opt{onsubmit} && $opt{onsubmit} !~ /;\s*$/;
+
</%init>
</%init>