Added protocal to the Member rate form

This commit is contained in:
Eric Davis
2008-06-30 16:32:39 -07:00
parent bdf003d8e9
commit 869113c1eb
+2 -1
View File
@@ -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;') +