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

(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-3 / +3 lines)
Lines 205-210 function logOut(){ Link Here
205
    removeLastBorrower();
205
    removeLastBorrower();
206
    localStorage.removeItem("sql_reports_activetab");
206
    localStorage.removeItem("sql_reports_activetab");
207
    localStorage.removeItem("searches");
207
    localStorage.removeItem("searches");
208
    localStorage.removeItem("bibs_selected");
208
}
209
}
209
210
210
function openHelp(){
211
function openHelp(){
Lines 320-330 function delBibToContext( bibnum ) { Link Here
320
}
321
}
321
322
322
function setContextBiblioNumbers( bibnums ) {
323
function setContextBiblioNumbers( bibnums ) {
323
    $.cookie('bibs_selected', JSON.stringify( bibnums ));
324
    localStorage.setItem('bibs_selected', JSON.stringify( bibnums ) );
324
}
325
}
325
326
326
function getContextBiblioNumbers() {
327
function getContextBiblioNumbers() {
327
    var r = $.cookie('bibs_selected');
328
    var r = localStorage.getItem('bibs_selected');
328
    if ( r ) {
329
    if ( r ) {
329
        return JSON.parse(r);
330
        return JSON.parse(r);
330
    }
331
    }
331
- 

Return to bug 29932