mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
See ChangeLog.
Monotone-Parent: 86a177d4a05deda193edc7d9e0fedca89758cadd Monotone-Revision: 858a9ca804ecabd66c735a54fe09bd4e5b7ec5b2 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-07-30T20:10:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1146,7 +1146,7 @@ function onDocumentKeydown(event) {
|
||||
nextRow = row.previous("tr");
|
||||
if (nextRow) {
|
||||
row.up().deselectAll();
|
||||
|
||||
|
||||
// Adjust the scollbar
|
||||
var viewPort = $("contactsListContent");
|
||||
var divDimensions = viewPort.getDimensions();
|
||||
@@ -1167,6 +1167,10 @@ function onDocumentKeydown(event) {
|
||||
Event.stop(event);
|
||||
}
|
||||
}
|
||||
else if (event.ctrlKey == 1 && event.keyCode == 65) { // Ctrl-A
|
||||
$("contactsList").selectAll();
|
||||
Event.stop(event);
|
||||
}
|
||||
}
|
||||
|
||||
/*function fixSearchFieldPosition () {
|
||||
@@ -1193,10 +1197,7 @@ function initContacts(event) {
|
||||
$("uploadOK").observe("click", hideImportResults);
|
||||
}
|
||||
|
||||
if (Prototype.Browser.Gecko)
|
||||
Event.observe(document, "keypress", onDocumentKeydown); // for FF2
|
||||
else
|
||||
Event.observe(document, "keydown", onDocumentKeydown);
|
||||
Event.observe(document, "keydown", onDocumentKeydown);
|
||||
|
||||
configureAddressBooks();
|
||||
updateAddressBooksMenus();
|
||||
|
||||
Reference in New Issue
Block a user