o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1361715777.5712814Пр: @value"Ф {I" class:EFI"ProcessedAsset;FI"logical_path;FI"!translation_center/center.js;FI" pathname;FI"W/home/bdrit/translation_center/app/assets/javascripts/translation_center/center.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2013-02-17T11:48:45+02:00;FI" length;FiiI" digest;F"%e6a6b00f70dd9d52664819144c57863dI" 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"dependency_digest;F"%34d96dfa25a5b289bd5c1308fff60d39I"required_paths;F[I"W/home/bdrit/translation_center/app/assets/javascripts/translation_center/center.js;FI"dependency_paths;F[{I" path;FI"W/home/bdrit/translation_center/app/assets/javascripts/translation_center/center.js;FI" mtime;FI"2013-02-17T11:48:45+02:00;FI" digest;F"%e6a6b00f70dd9d52664819144c57863dI" _version;F"%6776f581a4329e299531e1d52aa59832