Update standard tag colors to match TB and improve tags id generation.

This commit is contained in:
Ludovic Marcotte
2013-11-14 09:00:19 -05:00
parent 198db855f6
commit c05cf00db7
2 changed files with 6 additions and 6 deletions

View File

@@ -1083,7 +1083,7 @@ function serializeMailLabels() {
/* if name is null, that's because we've just added a new tag */
if (!name) {
name = label.replace(/ /g,"_");
name = label.replace(/[ \(\)\/\{%\*<>\\\"]/g, "_");
}
values.push("\"" + name + "\": [\"" + label + "\", \"" + color + "\"]");