@@ -, +, @@ mappings --- .../prog/en/modules/admin/z3950servers.tt | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt @@ -47,6 +47,10 @@ } }); $("#serverentry").submit(function( event ) { + // first test if show_sru_fields exists + if( $('#show_sru_fields').length && $('#show_sru_fields').val()=='' && !confirm( _("No SRU search field mappings have been defined. This means that all field searches will go through the whole record. Continue?"))) { + return false; + } // copy show_sru_fields to hidden counterpart $('#sru_fields').val( $('#show_sru_fields').val() ); // enable recordtype to include field in post --