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

(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js (-1 / +1 lines)
Lines 100-106 function showAllColumns() { Link Here
100
    });
100
    });
101
    $("#selections span").addClass("selected");
101
    $("#selections span").addClass("selected");
102
    $("#itemst td:nth-child("+nb_cols+"),#itemst tr th:nth-child("+nb_cols+")").nextAll().show();
102
    $("#itemst td:nth-child("+nb_cols+"),#itemst tr th:nth-child("+nb_cols+")").nextAll().show();
103
    $.removeCookie("showColumns", { path: '/' });
103
    Cookies.remove("showColumns", { path: '/' });
104
    $("#hideall").prop("checked", false).parent().removeClass("selected");
104
    $("#hideall").prop("checked", false).parent().removeClass("selected");
105
}
105
}
106
106
(-)a/koha-tmpl/intranet-tmpl/prog/js/pages/results.js (-3 / +3 lines)
Lines 1-4 Link Here
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers holdfor_cardnumber holdforclub strQuery PREF_NotHighlightedWords __ */
1
/* global KOHA biblionumber new_results_browser addMultiple vShelfAdd openWindow search_result SEARCH_RESULTS PREF_LocalCoverImages PREF_IntranetCoce PREF_CoceProviders CoceHost CoceProviders addRecord delSingleRecord PREF_BrowseResultSelection resetSearchContext addBibToContext delBibToContext getContextBiblioNumbers holdfor_cardnumber holdforclub strQuery PREF_NotHighlightedWords __ Cookies */
2
2
3
function verify_cover_images() {
3
function verify_cover_images() {
4
    /* Loop over each container in the template which contains covers */
4
    /* Loop over each container in the template which contains covers */
Lines 348-355 function placeHold () { Link Here
348
}
348
}
349
349
350
function forgetPatronAndClub(){
350
function forgetPatronAndClub(){
351
    $.removeCookie("holdfor", { path: '/' });
351
    Cookies.remove("holdfor", { path: '/' });
352
    $.removeCookie("holdforclub", { path: '/' });
352
    Cookies.remove("holdforclub", { path: '/' });
353
    $(".holdforlink").remove();
353
    $(".holdforlink").remove();
354
    $("#placeholdc").html("<a class=\"btn btn-default btn-xs placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o\"></i> " + __("Place hold") + "</a>");
354
    $("#placeholdc").html("<a class=\"btn btn-default btn-xs placehold\" href=\"#\"><i class=\"fa fa-sticky-note-o\"></i> " + __("Place hold") + "</a>");
355
}
355
}
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-3 / +2 lines)
Lines 1-4 Link Here
1
/* global shortcut delBasket Sticky AUDIO_ALERT_PATH */
1
/* global shortcut delBasket Sticky AUDIO_ALERT_PATH Cookies */
2
/* exported addBibToContext delBibToContext escape_str escape_price openWindow _ removeFocus toUC confirmDelete confirmClone playSound */
2
/* exported addBibToContext delBibToContext escape_str escape_price openWindow _ removeFocus toUC confirmDelete confirmClone playSound */
3
if ( KOHA === undefined ) var KOHA = {};
3
if ( KOHA === undefined ) var KOHA = {};
4
4
Lines 194-200 function checkEnter(e){ //e is event object passed from function invocation Link Here
194
}
194
}
195
195
196
function clearHoldFor(){
196
function clearHoldFor(){
197
    $.removeCookie("holdfor", { path: '/' });
197
    Cookies.remove("holdfor", { path: '/' });
198
}
198
}
199
199
200
function logOut(){
200
function logOut(){
201
- 

Return to bug 29933