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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (+1 lines)
Lines 534-539 fieldset.rows table { clear: none; margin: 0; } Link Here
534
        [%- END -%]
534
        [%- END -%]
535
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
535
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
536
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
536
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
537
        var MSG_BIBLIO_NOT_EXIST = _("Bibliographic record does not exist!");
537
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
538
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
538
        var MSG_TEST_PREDICTION = _("Please click on 'Test prediction pattern' before saving subscription.");
539
        var MSG_TEST_PREDICTION = _("Please click on 'Test prediction pattern' before saving subscription.");
539
        var MSG_REQUIRED_PUB_DATE = _("You must choose a first publication date");
540
        var MSG_REQUIRED_PUB_DATE = _("You must choose a first publication date");
(-)a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js (-3 / +2 lines)
Lines 1-4 Link Here
1
/* global _ irregularity more_than_one_serial subscriptionid tags interface theme mana_enabled MSG_FREQUENCY_LENGTH_ERROR */
1
/* global _ irregularity more_than_one_serial subscriptionid tags interface theme mana_enabled MSG_FREQUENCY_LENGTH_ERROR MSG_BIBLIO_NOT_EXIST */
2
2
3
var globalnumpatterndata;
3
var globalnumpatterndata;
4
var globalfreqdata;
4
var globalfreqdata;
Lines 61-67 function Check_page1() { Link Here
61
61
62
    var bib_exists = $("input[name='title']").val().length;
62
    var bib_exists = $("input[name='title']").val().length;
63
63
64
    if (!bib_exists) alert(_("Bibliographic record does not exist!"));
64
    if (!bib_exists) alert(MSG_BIBLIO_NOT_EXIST);
65
    return bib_exists;
65
    return bib_exists;
66
}
66
}
67
67
68
- 

Return to bug 24358