diff options
author | Henry Castro <hcastro@collabora.com> | 2022-07-07 10:12:53 -0400 |
---|---|---|
committer | cobackporter[bot] <cobackporter[bot]@users.noreply.github.com> | 2022-07-15 12:22:14 +0000 |
commit | 53a8c063440c67fbdf7b1b16e1c2d320557b7013 (patch) | |
tree | 4091bfc217174c84d483b676a09d6bde0d4fc99e | |
parent | Fix padding in follow editor's entry (userListPopover) (diff) | |
download | online-backport/4994/distro/collabora/co-21-11.tar.gz online-backport/4994/distro/collabora/co-21-11.zip |
infobar: listen 'updateviewlist' event
backport/4994/distro/collabora/co-21-11
check infobar data when the server send
the user info data.
Change-Id: I0ba1da488f9b3d03dc7e3f42cea718273e6939b1
Signed-off-by: Henry Castro <hcastro@collabora.com>
-rw-r--r-- | browser/src/map/handler/Map.Infobar.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/browser/src/map/handler/Map.Infobar.js b/browser/src/map/handler/Map.Infobar.js index 749da4e563..73a2bd48dd 100644 --- a/browser/src/map/handler/Map.Infobar.js +++ b/browser/src/map/handler/Map.Infobar.js @@ -17,6 +17,7 @@ L.Map.Infobar = L.Handler.extend({ removeHooks: function () { clearInterval(this._intervalInfo); this._map.off('infobar', this.onInfobar, this); + this._map.off('updateviewlist', this.onUpdateInfo, this); }, onUpdateInfo: function () { |