Skip to content

Commit

Permalink
Correct the naming of highlightComment function.
Browse files Browse the repository at this point in the history
Add new property to commentSection (children).

Update commentListSection for Writer comments.
Now the comments at the same position are separated.

The parent / child relations are set by "parent" attribute.

Signed-off-by: Gökay Şatır <[email protected]>
Change-Id: I0a8ab060c133a51f4d09e71777cc6233b78a6efa
  • Loading branch information
gokaysatir committed Sep 8, 2023
1 parent bec384c commit d4dcc9e
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 99 deletions.
2 changes: 1 addition & 1 deletion browser/src/control/Control.JSDialogBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -2176,7 +2176,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
}

$(container).find('.cool-annotation')[0].addEventListener('click', function() {
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).hightlightComment(data.annotation);
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).highlightComment(data.annotation);
});
return false;
},
Expand Down
Loading

0 comments on commit d4dcc9e

Please sign in to comment.