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

(-)a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js (-3 lines)
Lines 55-64 $.fn.selectTabByID = function (tabID) { Link Here
55
function checkEnter(e){ //e is event object passed from function invocation
55
function checkEnter(e){ //e is event object passed from function invocation
56
    var characterCode; // literal character code will be stored in this variable
56
    var characterCode; // literal character code will be stored in this variable
57
    if(e && e.which){ //if which property of event object is supported (NN4)
57
    if(e && e.which){ //if which property of event object is supported (NN4)
58
        e = e;
59
        characterCode = e.which; //character code is contained in NN4's which property
58
        characterCode = e.which; //character code is contained in NN4's which property
60
    } else {
59
    } else {
61
        e = window.event;
62
        characterCode = e.keyCode; //character code is contained in IE's keyCode property
60
        characterCode = e.keyCode; //character code is contained in IE's keyCode property
63
    }
61
    }
64
62
65
- 

Return to bug 13089