From 0aec08cc1fca0c4740356cf83245a3bc3453d996 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 19 Jul 2013 23:47:24 +0200 Subject: [PATCH] Fixed customer change of ticket. --- .../app/controllers/_application_controller_form.js.coffee | 2 +- ...gent_ticket_customer.js.coffee => ticket_customer.js.coffee} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/assets/javascripts/app/controllers/{agent_ticket_customer.js.coffee => ticket_customer.js.coffee} (98%) diff --git a/app/assets/javascripts/app/controllers/_application_controller_form.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_form.js.coffee index 1358264f8..248c073ee 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_form.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_form.js.coffee @@ -451,7 +451,7 @@ class App.ControllerForm extends App.Controller select: ( event, ui ) => b(event, ui.item) ) - @delay( a, 180 ) + @delay( a, 280 ) # working_hour else if attribute.tag is 'working_hour' diff --git a/app/assets/javascripts/app/controllers/agent_ticket_customer.js.coffee b/app/assets/javascripts/app/controllers/ticket_customer.js.coffee similarity index 98% rename from app/assets/javascripts/app/controllers/agent_ticket_customer.js.coffee rename to app/assets/javascripts/app/controllers/ticket_customer.js.coffee index 87b7b185e..a39ab8bbc 100644 --- a/app/assets/javascripts/app/controllers/agent_ticket_customer.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_customer.js.coffee @@ -3,7 +3,7 @@ class App.TicketCustomer extends App.ControllerModal super @render() - render: -> + render: -> configure_attributes = [ { name: 'customer_id', display: 'Customer', tag: 'autocompletion', type: 'text', limit: 100, null: false, relation: 'User', class: 'span5', autocapitalize: false, help: 'Select the new customer of the Ticket.', source: 'api/users/search', minLengt: 2 }, ]