mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-15 05:14:53 +00:00
Monotone-Parent: b31e6efb5efed6bcfa2c6aaca6dbbb4e06a9a637
Monotone-Revision: ae19f5b80b87d9f63b4068d2a027a9fdb3190efb Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-10-09T19:27:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -545,8 +545,10 @@ function onRowClick(event) {
|
||||
|
||||
if (node.tagName == 'TD') {
|
||||
node = node.parentNode; // select TR
|
||||
rowIndex = node.rowIndex - $(node).up('table').down('thead').getElementsByTagName('tr').length;
|
||||
}
|
||||
if (node.tagName == 'TR') {
|
||||
rowIndex = node.rowIndex - $(node).up('table').down('thead').getElementsByTagName('tr').length;
|
||||
}
|
||||
else if (node.tagName == 'LI') {
|
||||
// Find index of clicked row
|
||||
var list = node.parentNode;
|
||||
@@ -593,7 +595,7 @@ function onRowClick(event) {
|
||||
// Single line selection
|
||||
$(node.parentNode).deselectAll();
|
||||
$(node).selectElement();
|
||||
|
||||
|
||||
if (initialSelection != $(node.parentNode).getSelectedNodes()) {
|
||||
// Selection has changed; fire mousedown event
|
||||
var parentNode = node.parentNode;
|
||||
|
||||
Reference in New Issue
Block a user