From c23b37f352ec3ddf83f4d4d4a8ab1290368113fa Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Fri, 23 Sep 2016 11:12:52 +0530 Subject: [PATCH] loleaflet: Better to have 'reconnected' signal here Change-Id: I50c9484bb591d7192977fe49adb75f99d8ee1b08 --- loleaflet/src/core/Socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index 3971f3e09..e9a64f53b 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -270,7 +270,7 @@ L.Socket = L.Class.extend({ } else if (textMsg.startsWith('status:')) { // we are reconnecting ... this._map._docLayer._onMessage('invalidatetiles: EMPTY', null); - this._map.fire('statusindicator', {statusType: 'finish'}); + this._map.fire('statusindicator', {statusType: 'reconnected'}); this._map.setPermission(this._map.options.permission); }