Remove quick_edit on bulletin index load

This commit is contained in:
Christophe Vilayphiou committed 2012-03-23 17:32:59 +08:00
1 parent a126935d2c
commit 61698f3f2c
11 files changed
+37 -41

No files matched your search

@@ -12,4 +12,9 @@ $('.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();
});
$('.quick_edit_cancel').live('click', function(){
tr = $(this).attr('rel');
$('#' + tr).hide();
});
-6
View File
@@ -39,12 +39,6 @@ $(document).ready(function(){
break;
}
});
$(document).on('click', '.toggle-tr-edit', function() {
$(this).parents('tr').next('.qe-block').removeClass('hide');
$(this).parents('tr').next('.qe-block').find('.qe-edit-div').addClass('hide');
$(this).parents('tr').next('.qe-block').find('#qe-' + $(this).attr('rel')).toggleClass('hide');
});
$(document).on('click', '.sort-header > .sort', function() {
$.getScript($(this).attr('rel'));