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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc (-1 / +16 lines)
Lines 80-84 Link Here
80
                }
80
                }
81
            });
81
            });
82
        });
82
        });
83
84
        // jQuery Datepicker - a11y: Map arrow keys
85
        var doKeyDown = $.datepicker._doKeyDown
86
        $.extend($.datepicker, {
87
            _doKeyDown: function(event) {
88
                if (event.which === $.ui.keyCode.LEFT ||
89
                    event.which === $.ui.keyCode.RIGHT ||
90
                    event.which === $.ui.keyCode.UP ||
91
                    event.which === $.ui.keyCode.DOWN) {
92
                    event.ctrlKey = true;
93
                    doKeyDown(event);
94
                } else {
95
                    doKeyDown(event);
96
                }
97
            }
98
        });
83
    //]]>
99
    //]]>
84
</script>
100
</script>
85
- 

Return to bug 26041