this._marker.closePopup not a function

this can be reproduced by inserting a table in writer, and then clicking
and dragging one of the "marker" indicators above the columns

wsd-308187-308314 2024-07-17 06:59:38.909586 +0000 [ websrv_poll ] ERR  jserror {
  "userAgent": "mozilla/5.0 (x11; linux x86_64; rv:109.0) gecko/20100101 firefox/115.0",
  "vendor": "",
  "message": "TypeError: this._marker.closePopup is not a function",
  "source": "https://.../browser/.../bundle.js",
  "line": 21863,
  "column": 88
}
this._marker.closePopup is not a function
_onDragStart@https://.../browser/.../bundle.js:21863:88

possibly since:

commit 9932ad7516
AuthorDate: Tue Jul 9 18:41:52 2024 +0300

    Remove unused files, variables and functions.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I34b21713b980beba0e1123a9738c870334c10354
This commit is contained in:
Caolán McNamara 2024-07-17 10:22:32 +01:00 committed by Szymon Kłos
parent 72de0e666c
commit e5bfc8529e

View file

@ -60,7 +60,6 @@ L.Handler.MarkerDrag = L.Handler.extend({
_onDragStart: function (e) {
this._marker
.closePopup()
.fire('movestart', e)
.fire('dragstart', e);
},