Bug 21861: (follow-up) replace onchange() with jQuery equivalent
authorAndreas Roussos <arouss1980@gmail.com>
Thu, 22 Nov 2018 13:55:25 +0000 (15:55 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Dec 2018 17:48:28 +0000 (17:48 +0000)
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit f44a4f1d2a13735c52948df29e773728d04ab991)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit cc0833fec6ac0e4f5008c855d8c0034c56870fa4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js

index 1d0d6d4..911156f 100644 (file)
@@ -290,7 +290,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;