o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1352685992.431563: @value"œ{I" class:EFI"ProcessedAsset;FI"logical_path;FI" pivotal_reporter/stories.js;FI" pathname;FI"]/Users/pete/Projects/pivotal_reporter/app/assets/javascripts/pivotal_reporter/stories.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-11-11T20:06:22-06:00;FI" length;Fi`I" digest;F"%d102b07f842bc30c8ff1a2dc469ea86eI" source;FI"`// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function(){ $('.reject-btn').click(function(e){ var msg = ''; while (msg == '' || msg == null) { msg = prompt("Reason for Rejection:"); if (msg == null) { alert("You must enter a reason for your rejection."); } } window.location = $(this).data('reject-path') + "?reject_message=" + encodeURI(msg); return false; }); }); ;FI"dependency_digest;F"%2cd319301deb24767e29a5263bfeb152I"required_paths;F[I"]/Users/pete/Projects/pivotal_reporter/app/assets/javascripts/pivotal_reporter/stories.js;FI"dependency_paths;F[{I" path;FI"]/Users/pete/Projects/pivotal_reporter/app/assets/javascripts/pivotal_reporter/stories.js;FI" mtime;FI"2012-11-11T20:06:22-06:00;FI" digest;F"%d102b07f842bc30c8ff1a2dc469ea86eI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862