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:
Francis Lachapelle
2011-12-06 19:28:44 +00:00
parent e05939e8a0
commit 51d7c146fb
3 changed files with 12 additions and 3 deletions
+3 -3
View File
@@ -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