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:
parent
0912d5d83d
commit
994e3213f7
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue