mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
See ChangeLog.
Monotone-Parent: 9c4be3d7d32f456638c073296f3c3b84ca2f6ea9 Monotone-Revision: 0e0730fe59a4d574138454dc943c443900fe67b6 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-12-06T19:28:44
This commit is contained in:
@@ -190,8 +190,7 @@ function contactsListCallback(http) {
|
||||
|
||||
// Restore selection and scroll to first selected node
|
||||
var selection = http.callbackData;
|
||||
if (selection) {
|
||||
tbody.refreshSelectionByIds(selection);
|
||||
if (selection && tbody.refreshSelectionByIds(selection) > 0) {
|
||||
for (var i = 0; i < selection.length; i++) {
|
||||
var row = $(selection[i]);
|
||||
if (row) {
|
||||
@@ -202,7 +201,8 @@ function contactsListCallback(http) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
tbody.deselectAll();
|
||||
}
|
||||
else {
|
||||
// No more access to this address book; empty the list
|
||||
|
||||
Reference in New Issue
Block a user