(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
+8
View File
@@ -353,3 +353,11 @@ function contrast(hex) {
return 'white';
}
}
function guid() {
function S4() {
return (((1+Math.random())*0x10000)|0).toString(16).substring(1);
}
return (S4() + S4() + "-" + S4() + "-4" + S4().substr(0,3) + "-" + S4() + "-" + S4() + S4() + S4()).toLowerCase();
}