fix announcement & links

This commit is contained in:
unknown committed 2012-03-23 18:04:11 +08:00
1 parent a755eb184b
commit 42519d9f78
40 files changed
+446 -268

No files matched your search

+4 -3
View File
@@ -1,9 +1,9 @@
$('.bulletin_links_block a.remove_existing_record').live('click', function(){
$('.bulletin_links_block a.delete').live('click', function(){
//$(this).parents('.list_item').remove();
$(this).parents('tr.list_item').remove();
});
$('.bulletin_files_block a.remove_existing_record').live('click', function(){
$('.bulletin_files_block a.delete').live('click', function(){
//$(this).parents('.list_item').remove();
$(this).parents('tr.list_item').remove();
});
@@ -11,5 +11,6 @@ $('.bulletin_files_block a.remove_existing_record').live('click', function(){
$('.action a.remove_existing_record').live('click', function(){
$(this).next('.should_destroy').attr('value', 1);
//$("#bulletin_" + $(this).prev().attr('value')).hide();
$("tr#bulletin_" + $(this).prev().attr('value')).hide();
$("tr#bulletin_file_" + $(this).prev().attr('value')).hide();
$("tr#bulletin_link_" + $(this).prev().attr('value')).hide();
});