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 |
- |
|
|