@@ -, +, @@
* 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(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchedit.tt
+++ a/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');
- $("