mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 18:57:18 +00:00
Monotone-Parent: eacf14246d4dde8712de638d29d8a7cdc77fac45
Monotone-Revision: 24072b56a700014098e8df3a7ba0e45f26e74a2a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-09T18:27:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -179,7 +179,7 @@ function sanitizeMailTo(dirtyMailTo) {
|
||||
|
||||
function sanitizeWindowName(dirtyWindowName) {
|
||||
// IE is picky about the characters used for the window name.
|
||||
return dirtyWindowName.replace(/[\s\/-]/g, "_");
|
||||
return dirtyWindowName.replace(/[\s\.\/-]/g, "_");
|
||||
}
|
||||
|
||||
function openUserFolderSelector(callback, type) {
|
||||
@@ -515,7 +515,10 @@ function acceptMultiSelect(node) {
|
||||
function onRowClick(event) {
|
||||
var node = getTarget(event);
|
||||
var rowIndex = null;
|
||||
|
||||
|
||||
if (node.tagName != 'TD' && node.tagName != 'LI')
|
||||
node = this;
|
||||
|
||||
if (node.tagName == 'TD') {
|
||||
node = node.parentNode; // select TR
|
||||
rowIndex = node.rowIndex - $(node).up('table').down('thead').getElementsByTagName('tr').length;
|
||||
|
||||
Reference in New Issue
Block a user