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

This commit is contained in:
Ludovic Marcotte committed 2013-11-14 09:00:19 -05:00
1 parent 198db855f6
commit c05cf00db7
2 files changed
+6 -6

No files matched your search

+1 -1
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 + "\"]");