applied comments

This commit is contained in:
Alexandre Cloutier
2014-08-13 17:41:58 -04:00
parent c3e46e4baf
commit f6c7ca3379
4 changed files with 68 additions and 96 deletions

View File

@@ -100,9 +100,9 @@ function searchMails() {
var accountNumber = "/" + userNames.indexOf(accountUser);
var position = searchLocation.length;
var folderName = accountNumber + "/folder" + searchLocation[1];
var folderName = accountNumber + "/folder" + searchLocation[1].replace(" ", "_SP_");
for (i = 2; i < position; i++)
folderName += accountNumber + "/folder" + searchLocation[i];
folderName += "/folder" + searchLocation[i];
var folderPath = optionsList[selectedIndex].innerText;