Fix typo
This commit is contained in:
parent
fd432f30ba
commit
b3cdffb59e
|
@ -303,7 +303,7 @@
|
||||||
});
|
});
|
||||||
$(document).on('click', '.remove_existing_record', function(){
|
$(document).on('click', '.remove_existing_record', function(){
|
||||||
if(confirm("<%= I18n.t(:sure?)%>")){
|
if(confirm("<%= I18n.t(:sure?)%>")){
|
||||||
$(this).next('.should_destroy').attr('value', 1);
|
$(this).children('.should_destroy').attr('value', 1);
|
||||||
$(this).parents('.start-line').hide();
|
$(this).parents('.start-line').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
});
|
});
|
||||||
$(document).on('click', '.remove_existing_record', function(){
|
$(document).on('click', '.remove_existing_record', function(){
|
||||||
if(confirm("<%= I18n.t(:sure?)%>")){
|
if(confirm("<%= I18n.t(:sure?)%>")){
|
||||||
$(this).next('.should_destroy').attr('value', 1);
|
$(this).children('.should_destroy').attr('value', 1);
|
||||||
$(this).parents('.start-line').hide();
|
$(this).parents('.start-line').hide();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Reference in New Issue