(fix #147) can now add multiple mail labels

This commit is contained in:
Ludovic Marcotte
2015-12-10 15:12:12 -05:00
parent 96e93c0eeb
commit 153c2c33e5
3 changed files with 17 additions and 2 deletions
@@ -148,7 +148,9 @@
}
function addMailLabel() {
vm.preferences.defaults.SOGoMailLabelsColors.new_label = ["New label", "#aaa"];
// See $omit() in the Preferences services for real key generation
var key = '_$$' + guid();
vm.preferences.defaults.SOGoMailLabelsColors[key] = ["New label", "#aaa"];
}
function removeMailLabel(key) {