* 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:
vit.jonas@gmail.com 2011-05-09 12:00:42 +00:00
parent f610a5a433
commit ba927478a1
2 changed files with 2 additions and 2 deletions

View File

@ -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()},

View File

@ -22,7 +22,7 @@ Redmine::Plugin.register :redmine_dmsf do
name "DMSF"
author "Vít Jonáš"
description "Document Management System Features for Redmine"
version "0.5.2"
version "0.6.0"
url "https://code.google.com/p/redmine-dmsf/"
author_url "mailto:vit.jonas@kontron-czech.com"