From 46696d714c06a9d7d355afbde10fc96493964550 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Thu, 22 Nov 2018 15:55:25 +0200 Subject: [PATCH] Bug 21861: (follow-up) replace onchange() with jQuery equivalent --- koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js b/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js index 462b2eff24..34578569c9 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js +++ b/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js @@ -296,7 +296,7 @@ function editAction( mmta_id, ordering, action, field_number, from_field, from_s document.getElementById('conditional_value').value = conditional_value; document.getElementById('conditional_regex').checked = parseInt( conditional_regex ); - document.getElementById('conditional_regex').onchange(); + $('#conditional_regex').change(); document.getElementById('description').value = description; -- 2.11.0