diff options
| author | Marc Florisson | 2014-03-04 09:24:05 +0100 |
|---|---|---|
| committer | Marc Florisson | 2014-03-04 09:26:18 +0100 |
| commit | 3587b4b60cdcc3a832b5694b9cb0d7b7d4e7853e (patch) | |
| tree | 6d0bde8178b2b1a8a70993e415b5212732a6f416 /app/views/compliance_check_tasks | |
| parent | 5c901c9f3d003c9b122925013e6155fdfa1f6dff (diff) | |
| download | chouette-core-3587b4b60cdcc3a832b5694b9cb0d7b7d4e7853e.tar.bz2 | |
fix tokenInput translations, Mantis #24416
Diffstat (limited to 'app/views/compliance_check_tasks')
| -rw-r--r-- | app/views/compliance_check_tasks/new.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/compliance_check_tasks/new.js.coffee b/app/views/compliance_check_tasks/new.js.coffee index f8f60ac79..32cfa851a 100644 --- a/app/views/compliance_check_tasks/new.js.coffee +++ b/app/views/compliance_check_tasks/new.js.coffee @@ -1,4 +1,4 @@ jQuery -> <% ComplianceCheckTask.references_types.map { |type| type_ids_model_references_type( ComplianceCheckTask, type)}.each do |rt| %> - $("textarea.<%= rt.input_class %>").tokenInput('<%= references_referential_compliance_check_tasks_path(@referential, :type => rt.relation_name, :format => :json) %>', { prePopulate: $('#').data('pre'), minChars: 1 }); + $("textarea.<%= rt.input_class %>").tokenInput('<%= references_referential_compliance_check_tasks_path(@referential, :type => rt.relation_name, :format => :json) %>', { prePopulate: $('#').data('pre'), minChars: 1, hintText: '<%= t('search_hint') %>', noResultsText: '<%= t('no_result_text') %>', searchingText: '<%= t('searching_term') %>'}); <% end %> |
