Fix handling of decoding contacts UID

A problem occurs when the contact UID contains a special character that
was HTML encoded (ex: space, &, ").
This commit is contained in:
Francis Lachapelle
2013-01-28 22:05:54 -05:00
parent ea13fd14c9
commit da757a19c6
4 changed files with 9 additions and 13 deletions

View File

@@ -117,7 +117,7 @@ function buildUsersTree(treeDiv, response) {
function onUserNodeToggle(event) {
this.stopObserving("click", onUserNodeToggle);
var person = this.parentNode.getAttribute("dataname");
var person = this.parentNode.getAttribute("dataname").unescapeHTML();
var url = (UserFolderURLForUser(person) + "foldersSearch"
+ "?type=" + window.opener.userFolderType);