Fix for quick edit file and link in announcement

Change submit_button into ajax_for_submit
This commit is contained in:
Christophe Vilayphiou committed 2012-04-26 16:42:28 +08:00
1 parent 6bf4c60d45
commit 3d293f6419
10 files changed
+49 -45

No files matched your search

+2 -3
View File
@@ -6,10 +6,9 @@ $('.bulletin_files_block a.delete').live('click', function(){
$(this).parents('.list_item').remove();
});
$('.action a.remove_existing_record').live('click', function(){
$(document).on('click', '.action a.remove_existing_record', function(){
$(this).next('.should_destroy').attr('value', 1);
//$("#bulletin_" + $(this).prev().attr('value')).hide();
$("tr#bulletin_" + $(this).prev().attr('value')).hide();
$("tr #" + $(this).prev().attr('value')).hide();
});
$('.quick_edit_cancel').live('click', function(){