View | Details | Raw Unified | Return to bug 12823
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-1 / +4 lines)
Lines 70-75 Link Here
70
        [% END %]
70
        [% END %]
71
71
72
        $("#serverentry").submit(function( event ) {
72
        $("#serverentry").submit(function( event ) {
73
            // first test if show_sru_fields exists
74
            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?"))) {
75
                return false;
76
            }
73
            // copy show_sru_fields to hidden counterpart
77
            // copy show_sru_fields to hidden counterpart
74
            $('#sru_fields').val( $('#show_sru_fields').val() );
78
            $('#sru_fields').val( $('#show_sru_fields').val() );
75
            // enable recordtype to include field in post
79
            // enable recordtype to include field in post
76
- 

Return to bug 12823