loleaflet/src/layer/AnnotationManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4e491f5f263bc530f66371f344c8873f06ce5a98 Author: Pranav Kant <pran...@collabora.co.uk> Date: Wed Mar 8 18:22:03 2017 +0530 loleaflet: Fix deleting comments from sidebar Change-Id: Idf0ab544f7b91195ddf6c512eac6ab90fc0c0741 diff --git a/loleaflet/src/layer/AnnotationManager.js b/loleaflet/src/layer/AnnotationManager.js index 15cd8af..35d02f5 100644 --- a/loleaflet/src/layer/AnnotationManager.js +++ b/loleaflet/src/layer/AnnotationManager.js @@ -237,7 +237,7 @@ L.AnnotationManager = L.Class.extend({ this.layout(); } else if (obj.comment.action === 'Remove') { if (this.getItem(obj.comment.id)) { - this._map.removeLayer(this.removeItem(id)); + this._map.removeLayer(this.removeItem(obj.comment.id)); this.unselect(); } } else if (obj.comment.action === 'Modify') { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits