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 }, ]