* fixed issue with multi upload without limiting number of files
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@29 5e329b0b-a2ee-ea63-e329-299493fc886d
This commit is contained in:
parent
f610a5a433
commit
ba927478a1
@ -259,7 +259,7 @@ form_tag({:action => "entries_operation", :id => @project, :folder_id => @folder
|
||||
runtimes : 'gears,html5,flash,html4',
|
||||
url : '<%= url_for({:controller => "dmsf_detail", :action => "upload_file", :id => @project, :folder_id => @folder}) %>',
|
||||
max_file_size : "100mb",
|
||||
max_file_count: '<%= Setting.plugin_redmine_dmsf["dmsf_max_file_upload"].to_i %>',
|
||||
max_file_count: '<%= Setting.plugin_redmine_dmsf["dmsf_max_file_upload"].to_i if Setting.plugin_redmine_dmsf["dmsf_max_file_upload"].to_i > 0 %>',
|
||||
multipart: true,
|
||||
multipart_params : {authenticity_token : jQuery("input[name=authenticity_token]").val()},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user