From 4da1af9c3f3b557465a513bfc11582577894bb1d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 11 Jan 2013 00:33:31 +0100 Subject: [PATCH] Show label-less input#file field in UploadField with canUpload=false The field carries the configuration, and some non-upload functionality like "attach files" still relies on the fileupload jQuery plugin being initialized. Conflicts: templates/UploadField.ss --- templates/UploadField.ss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/UploadField.ss b/templates/UploadField.ss index 1606d1bfd..3481472f9 100644 --- a/templates/UploadField.ss +++ b/templates/UploadField.ss @@ -56,6 +56,8 @@ <% _t('UploadField.FROMCOMPUTER', 'From your computer') %> multiple="multiple"<% end_if %> /> + <% else %> + multiple="multiple"<% end_if %> /> <% end_if %> <% if not $autoUpload %>