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:
Francis Lachapelle
2008-08-09 18:27:38 +00:00
parent 0456ac41f5
commit db44f9b8e0
4 changed files with 20 additions and 7 deletions
+5 -2
View File
@@ -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;