mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 09:29:43 +00:00
Live loading in the Webmail module! See ChangeLog.
Monotone-Parent: c81c7151deb5466ad48ca5eb97d70f3b1172934c Monotone-Revision: 4c3c63649f1424cf932228d812cb2a38ae67b434 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-05-27T14:41:59 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -466,7 +466,10 @@ function onRowClick(event) {
|
||||
node = node.parentNode; // select TR
|
||||
}
|
||||
if (node.tagName == 'TR') {
|
||||
rowIndex = node.rowIndex - $(node).up('table').down('thead').getElementsByTagName('tr').length;
|
||||
var head = $(node).up('table').down('thead');
|
||||
rowIndex = node.rowIndex;
|
||||
if (head)
|
||||
rowIndex -= head.getElementsByTagName('tr').length;
|
||||
}
|
||||
else if (node.tagName == 'LI') {
|
||||
// Find index of clicked row
|
||||
@@ -573,7 +576,6 @@ function popupMenu(event, menuId, target) {
|
||||
|
||||
$(document.body).observe("click", onBodyClickMenuHandler);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function getParentMenu(node) {
|
||||
|
||||
Reference in New Issue
Block a user