X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/ef0f264a9a385985afb67cb533cc720787b757fd..ab30b4d5d52bca4de5a3b29468e09bffd7f76466:/src/editor/modules/documentCanvas/canvas/genericElement.js?ds=inline diff --git a/src/editor/modules/documentCanvas/canvas/genericElement.js b/src/editor/modules/documentCanvas/canvas/genericElement.js index d3debb2..878e140 100644 --- a/src/editor/modules/documentCanvas/canvas/genericElement.js +++ b/src/editor/modules/documentCanvas/canvas/genericElement.js @@ -33,7 +33,7 @@ $.extend(generic, { } }.bind(this)); - this.commentsView = new CommentsView(this.wlxmlNode, {}); + this.commentsView = new CommentsView(this.wlxmlNode, this.canvas.metadata.user); this.addToGutter(this.commentsView); this.commentTip = $('
'); this.addWidget(this.commentTip);