mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°3524 Add keyboard shortcuts to global actions
This commit is contained in:
@@ -132,6 +132,9 @@ CKEDITOR.plugins.add( 'disabler',
|
||||
|
||||
// Processing on each pages of the backoffice
|
||||
$(document).ready(function(){
|
||||
// Initialize global keyboard shortcuts
|
||||
$('body').keyboard_shortcuts({shortcuts: aKeyboardShortcuts});
|
||||
|
||||
// Enable tooltips based on existing HTML markup, won't work on markup added dynamically after DOM ready (AJAX, ...)
|
||||
$('[data-tooltip-content]:not([data-tooltip-instantiated="true"])').each(function () {
|
||||
CombodoTooltip.InitTooltipFromMarkup($(this));
|
||||
|
||||
Reference in New Issue
Block a user