Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

This commit is contained in:
yflory
2020-03-16 14:42:40 +01:00
7 changed files with 36 additions and 4 deletions

View File

@@ -102,6 +102,8 @@ define([
}
html += cursor.name + '</span>';
// XXX breaks on "😶"
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charAt#Getting_whole_characters
var l = (cursor.name || Messages.anonymous).slice(0,1).toUpperCase();
var text = '';
@@ -786,6 +788,7 @@ define([
var boardExists = function (b) { return b.id === "board" + counter; };
while (kanban.options.boards.some(boardExists)) { counter++; }
*/
// XXX confirm that it doesn't collide with an existing id? unlikely but possible
var id = Util.createRandomInteger();
kanban.addBoard({