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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 161-167 function AreMandatoriesNotOk(){ Link Here
161
        if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(mandatories[i]) != null && ! document.getElementById(mandatories[i]).value || document.getElementById(mandatories[i]) == null)){
161
        if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(mandatories[i]) != null && ! document.getElementById(mandatories[i]).value || document.getElementById(mandatories[i]) == null)){
162
            tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ;
162
            tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ;
163
            document.getElementById(mandatories[i]).setAttribute('class','subfield_not_filled');
163
            document.getElementById(mandatories[i]).setAttribute('class','subfield_not_filled');
164
            document.getElementById(mandatories[i]).focus();
164
            $('#' + mandatories[i]).focus();
165
            tabflag[tag+subfield+tagnumber][1]=label[i];
165
            tabflag[tag+subfield+tagnumber][1]=label[i];
166
            tabflag[tag+subfield+tagnumber][2]=tab[i];
166
            tabflag[tag+subfield+tagnumber][2]=tab[i];
167
        } else {
167
        } else {
168
- 

Return to bug 6373