This commit is contained in:
chris 2013-07-27 15:57:14 +08:00
parent fd432f30ba
commit b3cdffb59e
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@
});
$(document).on('click', '.remove_existing_record', function(){
if(confirm("<%= I18n.t(:sure?)%>")){
$(this).next('.should_destroy').attr('value', 1);
$(this).children('.should_destroy').attr('value', 1);
$(this).parents('.start-line').hide();
}
});

View File

@ -188,7 +188,7 @@
});
$(document).on('click', '.remove_existing_record', function(){
if(confirm("<%= I18n.t(:sure?)%>")){
$(this).next('.should_destroy').attr('value', 1);
$(this).children('.should_destroy').attr('value', 1);
$(this).parents('.start-line').hide();
}
});