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

(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js (-3 / +2 lines)
Lines 556-562 function CloneItemSubfield(original){ Link Here
556
function CheckMandatorySubfields(p){
556
function CheckMandatorySubfields(p){
557
    var total = 0;
557
    var total = 0;
558
    $(p).find(".subfield_line input[name='mandatory'][value='1']").each(function(){
558
    $(p).find(".subfield_line input[name='mandatory'][value='1']").each(function(){
559
        var editor = $(this).siblings("[name='field_value']");
559
        var editor = $(this).siblings(".input_marceditor");
560
        if (!editor.val()) {
560
        if (!editor.val()) {
561
            editor.addClass("missing");
561
            editor.addClass("missing");
562
            total++;
562
            total++;
Lines 568-574 function CheckMandatorySubfields(p){ Link Here
568
function CheckImportantSubfields(p){
568
function CheckImportantSubfields(p){
569
    var total = 0;
569
    var total = 0;
570
    $(p).find(".subfield_line input[name='important'][value='1']").each(function(i){
570
    $(p).find(".subfield_line input[name='important'][value='1']").each(function(i){
571
        var editor = $(this).siblings("[name='field_value']");
571
        var editor = $(this).siblings(".input_marceditor");
572
        if (!editor.val()) {
572
        if (!editor.val()) {
573
            editor.addClass("missing");
573
            editor.addClass("missing");
574
            total++;
574
            total++;
575
- 

Return to bug 27526