fix announcement link & files

This commit is contained in:
unknown committed 2012-03-16 15:53:57 +08:00
1 parent 00ab773942
commit 7d553acaec
10 files changed
+200 -112

No files matched your search

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