Update issues_form_hook_listener.rb

This commit is contained in:
2017-01-29 21:47:09 -05:00
committed by GitHub
parent 32beae70ef
commit 97578f8380

View File

@@ -51,16 +51,6 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
vehicle = f.select :vehicles_id, vehicles, :selected => selected_vehicle, include_blank: true
return "<p><label for=\"issue_customer\">Customer</label>#{search_customer} #{customer_id}</p> <p>#{select_estimate}</p> <p>#{vehicle}</p>
<script type=\"text/javascript\">
$( function() {
$( \"#issue_customer_id\" ).autocomplete({
source: #{autocomplete_customer_name_customers_path}
});
} );
</script>
"
return "<p><label for=\"issue_customer\">Customer</label>#{search_customer} #{customer_id}</p> <p>#{select_estimate}</p> <p>#{vehicle}</p>"
end
end