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 <gokaysatir@gmail.com>
Change-Id: I0a8ab060c133a51f4d09e71777cc6233b78a6efa
  • Loading branch information
gokaysatir committed Sep 8, 2023
1 parent 1b9a186 commit e56206a
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

0 comments on commit e56206a

Please sign in to comment.