From 869113c1ebeb06b3618791e6bff14222ab5f02bd Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 30 Jun 2008 16:32:39 -0700 Subject: [PATCH] Added protocal to the Member rate form --- lib/budget_project_hook.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/budget_project_hook.rb b/lib/budget_project_hook.rb index a3d4208..2676e60 100644 --- a/lib/budget_project_hook.rb +++ b/lib/budget_project_hook.rb @@ -21,7 +21,7 @@ class BudgetProjectHook < Redmine::Plugin::Hook::Base def self.member_list_column_three(context = { }) if context[:project].module_enabled?('budget_module') # Build a form_remote_tag by hand since this isn't in the scope of a controller - form = help.form_tag({:controller => 'members', :action => 'edit', :id => context[:member].id, :host => Setting.host_name}, + form = help.form_tag({:controller => 'members', :action => 'edit', :id => context[:member].id, :protocol => Setting.protocol, :host => Setting.host_name}, :onsubmit => help.remote_function(:url => { :controller => 'members', :action => 'edit', @@ -29,6 +29,7 @@ class BudgetProjectHook < Redmine::Plugin::Hook::Base :host => Setting.host_name }, :host => Setting.host_name, + :protocol => Setting.protocol, :form => true, :method => 'post', :return => 'false' )+ '; return false;') +