@@ -, +, @@ modification my @subfields = $input->multi_param('subfield'); my @values = $input->multi_param('field_value'); - Go to Tools > Batch item modification - Enter a barcode and submit - Lets say there are subfields : $2 (not mandatory), $u and $v - Check the subfield $2 to be deleted - Enter a text in $v - Submit the form - Check the subfield $2 is well deleted --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -22,12 +22,12 @@ $(document).ready(function(){ $("input[name='disable_input']").click(function() { var row = $(this).attr("id"); row = row.replace("row","hint"); - var editor = $(this).parent().find("[name='field_value']"); + var todisable = $(this).parent().find("[name='field_value'],[name='tag'],[name='subfield'],[name='mandatory']"); if ($(this).is(":checked")) { - $(editor).prop('disabled', true); + $(todisable).prop('disabled', true); $("#"+row).html(_("This subfield will be deleted")); } else { - $(editor).prop('disabled', false); + $(todisable).prop('disabled', false); $("#"+row).html(""); } }); --