o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1384093241.1789591: @value"”{I" class:ETI"ProcessedAsset;FI"logical_path;TI"+locomotive/form_submit_notification.js;FI" pathname;TI"r/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-03-19T10:29:18+01:00;TI" length;TiúI" digest;TI"%ea73c7dd93a4948b3d6eefd6e31cdaff;FI" source;TI"ú/** * Version 0.0.1 * Display a message letting the user know the form is being submitted * Didier Lafforgue */ $.fn.formSubmitNotification = function(settings) { function show() { $('#form-submit-notification').fadeIn() } function hide() { $('#form-submit-notification').fadeOut() } function create(message) { if ($('#form-submit-notification').size() == 0) { var element = $("
" + message + "
").hide(); $('body').append(element); } } return this.each(function() { var form = $(this); var message = form.data('sending-form-message') || form.data('sending_form_message'); if (typeof(message) == 'undefined') message = form.find('input[type=submit]').data('sending-form-message'); if (typeof(message) == 'undefined') return ; create(message); form.bind('ajax:beforeSend', function(event) { show() }); form.bind('ajax:complete', function(event) { hide() }); }); } ; ;TI"dependency_digest;TI"%fe8be8f2e2eb2fbbb7d3c03d88685beb;FI"required_paths;T[I"r/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI"dependency_paths;T[{I" path;TI"r/Users/didier/Documents/LocomotiveCMS/engine/vendor/assets/javascripts/locomotive/form_submit_notification.js;FI" mtime;TI"2013-03-19T10:29:18+01:00;TI" digest;TI"%abd563cd89f5f950515d1a3de4ccc304;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F