Commit 6c1289d2eda1d51abae9c604848bbc7f0d775961
1 parent
b8052d83
Exists in
master
and in
29 other branches
Do not cache lang files of jquery-validation
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/layouts/_javascript.rhtml
1 | +<%= javascript_include_tag :defaults, 'jquery-latest.js', 'jquery.noconflict.js', 'jquery.cycle.all.min.js', 'thickbox.js', 'lightbox', 'jquery-ui-1.8.2.custom.min', 'jquery.scrollTo', 'jquery.form.js', 'jquery.cookie', 'reflection', 'add-and-join', 'jquery.tokeninput', 'report-abuse','colorbox', 'jquery-validation/jquery.validate', :cache => 'cache-general' %> | |
1 | 2 | <% language = FastGettext.locale %> |
2 | -<%= javascript_include_tag :defaults, 'jquery-latest.js', 'jquery.noconflict.js', 'jquery.cycle.all.min.js', 'thickbox.js', 'lightbox', 'jquery-ui-1.8.2.custom.min', 'jquery.scrollTo', 'jquery.form.js', 'jquery.cookie', 'reflection', 'add-and-join', 'jquery.tokeninput', 'report-abuse','colorbox', 'jquery-validation/jquery.validate', 'jquery-validation/localization/messages_'+language, 'jquery-validation/localization/methods_'+language, :cache => 'cache-general' %> | |
3 | +<%= javascript_include_tag 'jquery-validation/localization/messages_'+language, 'jquery-validation/localization/methods_'+language %> | ... | ... |