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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-2 / +2 lines)
Lines 1536-1546 input[type='text']:read-only:focus { Link Here
1536
}
1536
}
1537
1537
1538
.subfield_not_filled {
1538
.subfield_not_filled {
1539
    background-color: #FFFF99;
1539
    background-color: #FFFF99 !important;
1540
}
1540
}
1541
1541
1542
.important_subfield_not_filled {
1542
.important_subfield_not_filled {
1543
    background-color : #FFFFCC;
1543
    background-color : #FFFFCC !important;
1544
}
1544
}
1545
1545
1546
.content_hidden {
1546
.content_hidden {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-1 / +8 lines)
Lines 80-86 function AreMandatoriesNotOk(){ Link Here
80
        var id_string = mandatories[i];
80
        var id_string = mandatories[i];
81
        // alert (id_string);
81
        // alert (id_string);
82
        if( ! $("#" + id_string).val() ){
82
        if( ! $("#" + id_string).val() ){
83
            $("#" + id_string).attr('class','subfield_not_filled').focus();
83
            var elt = document.getElementById(id_string);
84
            if ( elt.nodeName == 'SELECT' ) {
85
                $(elt).siblings('.select2').find("span[role='combobox']").addClass('subfield_not_filled');
86
            } else {
87
                $(elt).addClass('subfield_not_filled');
88
            }
89
90
            $(elt).focus();
84
            StrAlert += "\t* " + _("%s in tab %s").format(label[i], tab[i]) + "\n";
91
            StrAlert += "\t* " + _("%s in tab %s").format(label[i], tab[i]) + "\n";
85
        }
92
        }
86
    }
93
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +7 lines)
Lines 334-340 Link Here
334
            }
334
            }
335
            if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(subfields[i]) != null && ! document.getElementById(subfields[i]).value || document.getElementById(subfields[i]) == null)){
335
            if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(subfields[i]) != null && ! document.getElementById(subfields[i]).value || document.getElementById(subfields[i]) == null)){
336
                tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ;
336
                tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ;
337
                document.getElementById(subfields[i]).setAttribute('class','input_marceditor noEnterSubmit ' + notFilledClass);
337
338
                var elt = document.getElementById(subfields[i]);
339
                if ( elt.nodeName == 'SELECT' ) {
340
                    $(elt).siblings('.select2').find("span[role='combobox']").addClass(notFilledClass);
341
                } else {
342
                    elt.setAttribute('class','input_marceditor noEnterSubmit ' + notFilledClass);
343
                }
338
                $('#' + subfields[i]).focus();
344
                $('#' + subfields[i]).focus();
339
                tabflag[tag+subfield+tagnumber][1]=label[i];
345
                tabflag[tag+subfield+tagnumber][1]=label[i];
340
                tabflag[tag+subfield+tagnumber][2]=tab[i];
346
                tabflag[tag+subfield+tagnumber][2]=tab[i];
341
- 

Return to bug 25727