|
|
|
@ -11,16 +11,23 @@
@@ -11,16 +11,23 @@
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
|
|
window.addEvent('domready', function() { |
|
|
|
|
var setLocationKeyboardEvents = new Keyboard({ |
|
|
|
|
new Keyboard({ |
|
|
|
|
defaultEventType: 'keydown', |
|
|
|
|
events: { |
|
|
|
|
'enter': function(event) { |
|
|
|
|
$('addTrackersButton').click(); |
|
|
|
|
event.preventDefault(); |
|
|
|
|
}, |
|
|
|
|
'Escape': function(event) { |
|
|
|
|
window.parent.closeWindows(); |
|
|
|
|
event.preventDefault(); |
|
|
|
|
}, |
|
|
|
|
'Esc': function(event) { |
|
|
|
|
window.parent.closeWindows(); |
|
|
|
|
event.preventDefault(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
setLocationKeyboardEvents.activate(); |
|
|
|
|
}).activate(); |
|
|
|
|
|
|
|
|
|
$('trackersUrls').focus(); |
|
|
|
|
$('addTrackersButton').addEvent('click', function(e) { |
|
|
|
|