diff --git a/app/controllers/dmsf_controller.rb b/app/controllers/dmsf_controller.rb index b0538679..63ea7970 100644 --- a/app/controllers/dmsf_controller.rb +++ b/app/controllers/dmsf_controller.rb @@ -144,6 +144,7 @@ class DmsfController < ApplicationController # Folder manipulation def new + @folder = DmsfFolder.new #Bugfix form error @pathfolder = @parent render :action => "edit" end diff --git a/app/controllers/dmsf_folders_copy_controller.rb b/app/controllers/dmsf_folders_copy_controller.rb index c4ef2069..5d1049e9 100644 --- a/app/controllers/dmsf_folders_copy_controller.rb +++ b/app/controllers/dmsf_folders_copy_controller.rb @@ -24,7 +24,7 @@ class DmsfFoldersCopyController < ApplicationController before_filter :find_folder before_filter :authorize - verify :method => :post, :only => [:copy_to], :render => { :nothing => true, :status => :method_not_allowed } +# verify :method => :post, :only => [:copy_to], :render => { :nothing => true, :status => :method_not_allowed } def new @target_project = DmsfFolder.allowed_target_projects_on_copy.detect {|p| p.id.to_s == params[:target_project_id]} if params[:target_project_id] diff --git a/app/views/dmsf/_multi_upload.html.erb b/app/views/dmsf/_multi_upload.html.erb index 0daf2212..699a9855 100644 --- a/app/views/dmsf/_multi_upload.html.erb +++ b/app/views/dmsf/_multi_upload.html.erb @@ -1,5 +1,5 @@
diff --git a/app/views/dmsf/show.html.erb b/app/views/dmsf/show.html.erb index a781bcdf..a72931c9 100644 --- a/app/views/dmsf/show.html.erb +++ b/app/views/dmsf/show.html.erb @@ -3,9 +3,8 @@