fix news error

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-06-27 09:59:32 +08:00
1 parent 83a72bdf6e
commit 6a4abc6c43
5 files changed
+17 -2

No files matched your search

@@ -1,3 +1,5 @@
$(document).ready(function(){
//alert("Anc Loaded");
$('.bulletin_links_block a.delete').live('click', function(){
$(this).parents('.list_item').remove();
});
@@ -16,4 +18,6 @@ $(document).on('click', '.quick_edit_cancel', function(){
$('#' + tr).hide();
$("tr#bulletin_file_" + $(this).prev().attr('value')).hide();
$("tr#bulletin_link_" + $(this).prev().attr('value')).hide();
});
});
@@ -1,3 +1,6 @@
$(document).ready(function(){
//alert("News Loaded");
$('.news_bulletin_links_block a.delete').live('click', function(){
$(this).parents('.list_item').remove();
});
@@ -16,4 +19,5 @@ $(document).on('click', '.quick_edit_cancel', function(){
$('#' + tr).hide();
$("tr#news_bulletin_file_" + $(this).prev().attr('value')).hide();
$("tr#news_bulletin_link_" + $(this).prev().attr('value')).hide();
});
});