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

(-)a/Koha/ILL/Backend/shared-includes/shared.js (-2 / +1 lines)
Lines 32-38 document.addEventListener('DOMContentLoaded', function() { Link Here
32
    $('#standard-fields').on('keyup', '.custom-name', function() {
32
    $('#standard-fields').on('keyup', '.custom-name', function() {
33
        var val = $(this).val();
33
        var val = $(this).val();
34
        if (core.indexOf(val.toLowerCase()) > -1) {
34
        if (core.indexOf(val.toLowerCase()) > -1) {
35
            $('#custom-warning').text(__('The name "' + val + '" is not permitted')).show();
35
            $('#custom-warning').text(__('The name "%s" is not permitted').format(val)).show();
36
            $('#ill-submit').attr('disabled', true);
36
            $('#ill-submit').attr('disabled', true);
37
            $('#add-new-fields').attr('disabled', true);
37
            $('#add-new-fields').attr('disabled', true);
38
        } else {
38
        } else {
39
- 

Return to bug 36221