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

(-)a/koha-tmpl/intranet-tmpl/prog/js/additem.js (-3 / +2 lines)
Lines 51-61 function addMulti( count, node, unique_item_fields){ Link Here
51
    //We need to verify the item form before saving
51
    //We need to verify the item form before saving
52
    var empty_item_mandatory = CheckMandatorySubfields(item_form);
52
    var empty_item_mandatory = CheckMandatorySubfields(item_form);
53
    if (empty_item_mandatory > 0) {
53
    if (empty_item_mandatory > 0) {
54
        var _alertString= _("Form not submitted because of the following problem(s)")+"\n";
54
        var _alertString= __("Form not submitted because of the following problem(s)")+"\n";
55
55
56
        _alertString +="-------------------------------------------------------------------\n\n";
56
        _alertString +="-------------------------------------------------------------------\n\n";
57
        _alertString +=
57
        _alertString +=
58
            "\n- " + _("%s item mandatory fields empty").format(empty_item_mandatory);
58
            "\n- " + __("%s item mandatory fields empty").format(empty_item_mandatory);
59
        alert(_alertString);
59
        alert(_alertString);
60
        return false;
60
        return false;
61
    }
61
    }
62
- 

Return to bug 38411