From 10dad5246092dd85218f75da92543a89c8e09f35 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Dec 2013 10:08:50 +0100 Subject: [PATCH] Bug 11413: Reflect the changes to the interface Test plan: - add/edit an action on the marc modification templates tools - choose an action and define a condition - define the source field as same as the condition field - verify the All/1st dropdown list is changed to Every/1st --- .../prog/en/modules/tools/marc_modification_templates.tt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt index 4472c67..177f299 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt @@ -35,11 +35,25 @@ $(document).ready(function() { return false; } }); + + $("#conditional_field,#from_field").change(function(){ + updateAllEvery(); + }); }); //]]>