o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1416672640.277698:@value"{I"
class:ETI"ProcessedAsset; FI"logical_path; TI"+locomotive/form_submit_notification.js; FI"
pathname; TI"’/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/vendor/assets/javascripts/locomotive/form_submit_notification.js; FI"content_type; TI"application/javascript; TI"
mtime; TI"2014-11-22T16:47:37+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 = $("
").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"’/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/vendor/assets/javascripts/locomotive/form_submit_notification.js; FI"dependency_paths; T[{I" path; TI"’/Users/didier/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/locomotive_cms-2.5.5/vendor/assets/javascripts/locomotive/form_submit_notification.js; FI"
mtime; TI"2014-11-22T16:47:37+01:00; TI"digest; TI"%abd563cd89f5f950515d1a3de4ccc304; FI"
_version; TI"%ffd318ca8b794f42f5029101c2cf5d91; F