mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Added onchange event to customer_id
This commit is contained in:
@@ -40,10 +40,10 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
|
||||
autocomplete_customer_name_customers_path,
|
||||
:selected => selected_customer,
|
||||
:update_elements => { :id => '#issue_customer_id', :value => '#issue_customer' }
|
||||
#,
|
||||
# :onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)"
|
||||
|
||||
customer_id = f.hidden_field :customer_id, :id => "issue_customer_id"
|
||||
customer_id = f.hidden_field :customer_id,
|
||||
:id => "issue_customer_id",
|
||||
:onchange => "updateIssueFrom('/issues/#{context[:issue].id}/edit.js', this)"
|
||||
|
||||
if context[:issue].customer
|
||||
if customer.vehicles
|
||||
|
||||
Reference in New Issue
Block a user