diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 209851539f..25a492b4b6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -41,15 +41,18 @@ $(document).ready(function(){ $('a[name="field_regex"]').click(function() { var id = $(this).attr('id'); var editor = $(this).parent().find("[name='field_value']"); + var tag_editor = $(this).parent().find(".buttonDot"); var regex = $(this).parent().find("[name='regex_fields']"); var disable_input = $(this).parent().find("[name='disable_input']"); if ($(this).html() == 'RegEx') { $(editor).hide(); $(regex).show(); + $(tag_editor).hide(); $(this).html('Text'); $(disable_input).prop('disabled', true); } else { $(editor).show(); + $(tag_editor).show(); $(regex).hide(); $(this).html('RegEx'); $(disable_input).prop('disabled', false);