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

(-)a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js (-2 / +4 lines)
Lines 34-40 $(document).ready(function () { Link Here
34
                function (data) {
34
                function (data) {
35
                    $.each(data.messaging_preferences, function (i, item) {
35
                    $.each(data.messaging_preferences, function (i, item) {
36
                        var attrid = item.message_attribute_id;
36
                        var attrid = item.message_attribute_id;
37
                        var transports = ["email", "rss", "sms"];
37
                        var transports = ["email", "rss", "sms","print"];
38
                        $.each(transports, function (j, transport) {
38
                        $.each(transports, function (j, transport) {
39
                            if (item["transports_" + transport] == 1) {
39
                            if (item["transports_" + transport] == 1) {
40
                                $("#" + transport + attrid).prop(
40
                                $("#" + transport + attrid).prop(
Lines 106-109 $(document).ready(function () { Link Here
106
    $(".pmp_phone").click(function () {
106
    $(".pmp_phone").click(function () {
107
        toggle_digest(Number($(this).attr("id").replace("phone", "")));
107
        toggle_digest(Number($(this).attr("id").replace("phone", "")));
108
    });
108
    });
109
    $(".pmp_print").click(function () {
110
        toggle_digest(Number($(this).attr("id").replace("print", "")));
111
    });
109
});
112
});
110
- 

Return to bug 4858