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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt (-1 / +1 lines)
Lines 220-226 Link Here
220
        function SearchToHold(club_id) {
220
        function SearchToHold(club_id) {
221
            var date = new Date();
221
            var date = new Date();
222
            date.setTime(date.getTime() + (10 * 60 * 1000));
222
            date.setTime(date.getTime() + (10 * 60 * 1000));
223
            $.cookie("holdforclub", club_id, { path: "/", expires: date });
223
            Cookies.set("holdforclub", club_id, { path: "/", expires: date });
224
            location.href="/cgi-bin/koha/catalogue/search.pl";
224
            location.href="/cgi-bin/koha/catalogue/search.pl";
225
        }
225
        }
226
    </script>
226
    </script>
(-)a/koha-tmpl/intranet-tmpl/prog/js/members-menu.js (-3 / +2 lines)
Lines 1-4 Link Here
1
/* global borrowernumber advsearch dateformat __ CAN_user_borrowers_edit_borrowers number_of_adult_categories destination Sticky */
1
/* global borrowernumber advsearch dateformat __ CAN_user_borrowers_edit_borrowers number_of_adult_categories destination Sticky Cookies */
2
2
3
$(document).ready(function(){
3
$(document).ready(function(){
4
4
Lines 153-158 function printx_window(print_type) { Link Here
153
function searchToHold(){
153
function searchToHold(){
154
    var date = new Date();
154
    var date = new Date();
155
    date.setTime(date.getTime() + (10 * 60 * 1000));
155
    date.setTime(date.getTime() + (10 * 60 * 1000));
156
    $.cookie("holdfor", borrowernumber, { path: "/", expires: date });
156
    Cookies.set("holdfor", borrowernumber, { path: "/", expires: date });
157
    location.href="/cgi-bin/koha/catalogue/search.pl";
157
    location.href="/cgi-bin/koha/catalogue/search.pl";
158
}
158
}
159
- 

Return to bug 27749