o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1381142250.0657961: @value"Â{I" class:EFI"ProcessedAsset;FI"logical_path;FI"+locomotive/form_submit_notification.js;TI" pathname;FI"‚/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/vendor/assets/javascripts/locomotive/form_submit_notification.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-10-07T10:55:41+02:00;FI" length;FiúI" digest;F"%ea73c7dd93a4948b3d6eefd6e31cdaffI" source;FI"ú/** * 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() }); }); } ; ;FI"dependency_digest;F"%fe8be8f2e2eb2fbbb7d3c03d88685bebI"required_paths;F[I"‚/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/vendor/assets/javascripts/locomotive/form_submit_notification.js;TI"dependency_paths;F[{I" path;FI"‚/Users/papipo/.rvm/gems/ruby-1.9.3-p448/gems/locomotive_cms-2.1.0/vendor/assets/javascripts/locomotive/form_submit_notification.js;TI" mtime;FI"2013-10-07T10:55:41+02:00;FI" digest;F"%abd563cd89f5f950515d1a3de4ccc304I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91