fix path to templates, set username as "", if anonymous

This commit is contained in:
Oleg Sinizin
2021-09-23 11:45:15 +03:00
parent d64a2b3a47
commit 222749da15
2 changed files with 10 additions and 5 deletions

View File

@ -104,6 +104,10 @@
var config = [[${model}]];
if (config.editorConfig.user.name == "Anonymous") {
config.editorConfig.user.name = "";
}
config.width = "100%";
config.height = "100%";
config.events = {