/* I don't think that any of the apps use this anymore. */ /* jQuery(function(){ jQuery('button.link').click(function(){ window.location.href = $(this).find('span.href').text(); }); jQuery('form.destroy_link_to').submit(function(){ var message = "Destroy? Seriously?" if( this.confirm && this.confirm.value ) { message = this.confirm.value } if( !confirm(message) ){ return false; } }); jQuery('p.flash').click(function(){$(this).remove();}); }); */