browser: addSectionFunctions is no more

Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: Ibceebaed2f553275b206f04e4c18dd9b842a78c3
This commit is contained in:
Dennis Francis 2023-01-11 15:13:42 +05:30 committed by Dennis Francis
parent e0017e5b8c
commit 75fbcc4ad0

View file

@ -2180,7 +2180,6 @@ L.Control.JSDialogBuilder = L.Control.extend({
annotation.containerObject = data.annotation.containerObject;
annotation.sectionProperties.section = annotation;
annotation.sectionProperties.commentListSection = data.annotation.sectionProperties.commentListSection;
data.annotation.containerObject.addSectionFunctions(annotation);
annotation.onInitialize();
if (this.map.isPermissionEditForComments() || this.map.isEditMode())