Javascript improvements and fix for IE8

Monotone-Parent: ac5f8b237dc599527e40ae6ad5333633c8dfffe1
Monotone-Revision: 90cccbef5388ee00f07794b49092e47c6767a899

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-06-02T19:45:07
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-06-02 19:45:07 +00:00
parent 3f4b8376af
commit a366d9150a
12 changed files with 85 additions and 102 deletions
@@ -205,7 +205,7 @@ function onConfirmFolderSelection(event) {
.replace("&lt;", "<", "g")
.replace("&gt;", ">", "g"));
folderName = resource.innerHTML + ' (' + email + ')';
}
}
folderName = folderName.replace(/>,.*(\))?$/, ">)$1", "g");
var data = { folderName: folderName, folder: folder, window: window };