loleaflet/src/core/Socket.js |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit e50495811f98378641a8e5524ce1926eaaa91894
Author: Henry Castro <hcas...@collabora.com>
Date:   Sun Apr 17 09:05:34 2016 -0400

    loleaflet: update to WebSocketErrorMessageException

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 22561ab..3b6ad4b 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -144,11 +144,11 @@ L.Socket = L.Class.extend({
                                return;
                        }
                }
+               else if (textMsg.startsWith('error:') && !this._map._docLayer) {
+                       this._map.fail = true;
+               }
                else if (textMsg.startsWith('statusindicator:')) {
                        this._map.showBusy('Connecting...', false);
-                       if (textMsg.match('statusindicator: fail')) {
-                               this._map.fail = true;
-                       }
                }
                else if (!textMsg.startsWith('tile:') && 
!textMsg.startsWith('renderfont:')) {
                        // log the tile msg separately as we need the tile 
coordinates
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to