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 235-241 Link Here
235
        function SearchToHold(club_id) {
235
        function SearchToHold(club_id) {
236
            var date = new Date();
236
            var date = new Date();
237
            date.setTime(date.getTime() + (10 * 60 * 1000));
237
            date.setTime(date.getTime() + (10 * 60 * 1000));
238
            $.cookie("holdforclub", club_id, { path: "/", expires: date });
238
            Cookies.set("holdforclub", club_id, { path: "/", expires: date });
239
            location.href="/cgi-bin/koha/catalogue/search.pl";
239
            location.href="/cgi-bin/koha/catalogue/search.pl";
240
        }
240
        }
241
    </script>
241
    </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 158-163 function printx_window(print_type) { Link Here
158
function searchToHold(){
158
function searchToHold(){
159
    var date = new Date();
159
    var date = new Date();
160
    date.setTime(date.getTime() + (10 * 60 * 1000));
160
    date.setTime(date.getTime() + (10 * 60 * 1000));
161
    $.cookie("holdfor", borrowernumber, { path: "/", expires: date });
161
    Cookies.set("holdfor", borrowernumber, { path: "/", expires: date });
162
    location.href="/cgi-bin/koha/catalogue/search.pl";
162
    location.href="/cgi-bin/koha/catalogue/search.pl";
163
}
163
}
164
- 

Return to bug 27749