Sha256: bb103da25fc6977f29689b50eafa62db4b0bb32a65ae95dc440cdcda9733a6fa
Contents?: true
Size: 1.84 KB
Versions: 5
Compression:
Stored size: 1.84 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1361094556.6725364 Ö:@value{ I"length:EFiiI"digest; F"%fb6ecc0d7fc320f992afbb9263bc95c4I"source; FI"i// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function(){ $('.datepicker').datepicker({"format": "dd/mm/yyyy", "weekStart": 1, "autoclose": true}); $('.language_to').click(function(){ var language_to = $.trim($(this).attr('lang_sym')); $.ajax({ type: 'POST', url: Routes.translation_center_set_lang_to_path, data: { lang : language_to }, success: function(){ location.reload(); } }); }); $('.language_from').click(function(){ var language_from = $.trim($(this).attr('lang_sym')); $.ajax({ type: 'POST', url: Routes.translation_center_set_lang_from_path, data: { lang : language_from }, success: function(){ location.reload(); } }); }); $('#search_activity').click(function(){ $.ajax({ type: 'GET', url: Routes.translation_center_search_activity_path + '.js', data: $('#search_form').serialize() }); return false; }); $('#search_reset').click(function(){ $('#search_form').children('input').each(function(){ $(this).val('') }) $('#search_form').children('select').val(''); $('#search_activity').click(); }); $(document).on('click', '.pagination a', function(){ $.ajax({ type: "GET", url: $(this).attr("href"), dataType: "script" }); return false; }); $("body").on({ ajaxStart: function() { $('#loading').show(); }, ajaxStop: function() { $('#loading').hide(); } }); }); ; FI" _version; F"%3a1f1fdc6795266e7f869c264e5219db
Version data entries
5 entries across 5 versions & 1 rubygems