test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 in controller_scaffolding-0.0.52 vs test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 in controller_scaffolding-0.1.5

- 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+ÌI¿SI" length;Ti±˜I" digest;TI"%f1a0a3302dd84e5a639e2519c29ddc24;FI" source;TI"±˜/*! +mtime;Tl+â ×SI" length;Ti$™I" digest;TI"%07e99a4a92edf0309f01883590acd7ea;FI" source;TI"$™/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ @@ -10755,11 +10755,12 @@ })( jQuery ); function set_per_page(sel) { url = updateQueryStringParameter($(location).attr('href'), "per_page", $(sel).val()) window.location = updateQueryStringParameter(url, "page", "1") - } +} + function updateQueryStringParameter(uri, key, value) { var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i"); var separator = uri.indexOf('?') !== -1 ? "&" : "?"; if (uri.match(re)) { return uri.replace(re, '$1' + key + "=" + value + '$2'); @@ -10767,10 +10768,16 @@ else { return uri + separator + key + "=" + value; } } ; +function clear_search() { + frm = $("#search-form"); + $(frm).find("input#search_for").val(""); + $(frm).submit(); +} +; // This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. @@ -10783,6 +10790,6 @@ // ; -;TI"required_assets_digest;TI"%1498dd38abbf6c498df70a3bf3b3c9a2;FI" _version;TI"%2b66aa67c90052d553e0328c249bc9b0;F +;TI"required_assets_digest;TI"%d12e6d4b36cd3b1d1e57f3df1799f09c;FI" _version;TI"%2b66aa67c90052d553e0328c249bc9b0;F \ No newline at end of file