test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 in bs-helper-0.1.3 vs test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 in bs-helper-0.1.4

- old
+ new

@@ -1,8 +1,8 @@ {I" class:ETI"BundledAsset;FI"logical_path;TI"application.js;TI" pathname;TI"0$root/app/assets/javascripts/application.js;FI"content_type;TI"application/javascript;TI" -mtime;Tl+ÒORI" length;TiîI" digest;TI"%09e1d47fc4fdc6a1f1c951973ad5fb34;FI" source;TI"î/*! +mtime;Tl+1N^RI" length;TiqîI" digest;TI"%35c70d65481471b73f4dba04096a06b8;FI" source;TI"qî/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ @@ -14884,11 +14884,14 @@ //=================================================== // Using bootstrap style submit button //=================================================== $('input:submit[data-type="bootstrap"]').prev('label').click(function (e) { e.preventDefault(); - $(this).next('input:submit[data-type="bootstrap"]').trigger('click'); + if ($(this).closest('form').data('readonly') === true) + return false; + else + $(this).next('input:submit[data-type="bootstrap"]').trigger('click'); }) }) ; @@ -15549,6 +15552,6 @@ ; -;TI"required_assets_digest;TI"%acd0621af91bb7fb99ae08f5c64ff22a;FI" _version;TI"%2cf3622cbba861b85d33ffabfa420c13;F +;TI"required_assets_digest;TI"%ffc848f1924358ad4067375f37c434ba;FI" _version;TI"%2cf3622cbba861b85d33ffabfa420c13;F \ No newline at end of file