infobar: fire 'infobar' message

JSON data contains latest version.

Change-Id: I86e581a5a148f32178d6665425e3105d38e04127
Signed-off-by: Henry Castro <hcastro@collabora.com>
This commit is contained in:
Henry Castro 2022-05-05 15:25:09 -04:00 committed by Michael Meeks
parent 0912d5d83d
commit 994e3213f7

View file

@ -1704,6 +1704,10 @@ L.CanvasTileLayer = L.Layer.extend({
app.sectionContainer.setClearColor('#' + this.coreDocBGColor);
}
}
else if (textMsg.startsWith('infobar:')) {
obj = JSON.parse(textMsg.substring('infobar:'.length + 1));
this._map.fire('infobar', obj);
}
},
_onTabStopListUpdate: function (textMsg) {