fix bug in javascript i18n

This commit is contained in:
wvengen 2013-02-09 10:19:48 +01:00
parent 36b18bcfbd
commit 22b3f3a491

View file

@ -38,9 +38,9 @@
$("##{f.object.class.to_s.underscore}_user_tokens").tokenInput("#{users_path(:format => :json)}", { $("##{f.object.class.to_s.underscore}_user_tokens").tokenInput("#{users_path(:format => :json)}", {
crossDomain: false, crossDomain: false,
prePopulate: $("##{f.object.class.to_s.underscore}_user_tokens").data("pre"), prePopulate: $("##{f.object.class.to_s.underscore}_user_tokens").data("pre"),
hintText: #{t('.search_user')}, hintText: '#{t('.search_user')}',
noResultText: #{t('.user_not_found')} noResultText: '#{t('.user_not_found')}',
searchingText: #{t('.search')}, searchingText: '#{t('.search')}',
theme: 'facebook' theme: 'facebook'
}); });
}); });