From 5904e71ee6f05d38c0c810e0046c961b89a67638 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 2 Jul 2012 17:41:07 +0200 Subject: [PATCH] BZ5725 follow-up for comment 48 This small follow up: * removes "whole field" in subfield list except when dealing with a field <010 (that has no subfield) * add a missing string resulting in an "undefined" when user choosed 'Create field and subfield' and hit Add button * synch the description after adding with the description in the list box of the 4 options available * fixes indentation a little --- .../prog/en/modules/tools/batchedit.tt | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt index faed49e..f06cf8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt @@ -10,20 +10,20 @@ function fieldChanged(){ var field = $('#fieldchoice').val(); - $("#loading").html(" \"\""); + $("#loading").html(" \"\""); $.ajax({ - url: CGIBIN + 'tools/batchedit.pl?field=' + field, - dataType: 'json', + url: CGIBIN + 'tools/batchedit.pl?field=' + field, + dataType: 'json', success: function(data){ $("#loading").html(""); - $("#subfieldchoice option").remove(); + $("#subfieldchoice option").remove(); - var subfield = $('#subfieldchoice'); - $("