From f0f002227dd3da2376cd2d131acfd2847456253b 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 Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- .../en/modules/tools/marc_modification_templates.tt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 22fee615f3..d42e0add8d 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,18 +35,21 @@ $(document).ready(function() { return false; } }); + + $("#conditional_field,#from_field").change(function(){ + updateAllEvery(); + }); }); //]]>