Orbit/app/assets/javascripts/bulletin_form.js.erb

15 lines
579 B
Plaintext
Raw Normal View History

2012-03-16 07:53:57 +00:00
$('.bulletin_links_block a.remove_existing_record').live('click', function(){
//$(this).parents('.list_item').remove();
$(this).parents('tr.list_item').remove();
2012-02-06 07:23:27 +00:00
});
2012-03-16 07:53:57 +00:00
$('.bulletin_files_block a.remove_existing_record').live('click', function(){
//$(this).parents('.list_item').remove();
$(this).parents('tr.list_item').remove();
2012-01-11 12:31:52 +00:00
});
$('.action a.remove_existing_record').live('click', function(){
$(this).next('.should_destroy').attr('value', 1);
2012-03-16 07:53:57 +00:00
//$("#bulletin_" + $(this).prev().attr('value')).hide();
2012-03-14 12:05:03 +00:00
$("tr#bulletin_" + $(this).prev().attr('value')).hide();
2012-01-11 12:31:52 +00:00
});