loleaflet/src/core/Socket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 65be8a3e562f44267d4824c0f6813993bb288c1f Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Jan 30 00:07:29 2017 -0500 loleaflet: 50 docs or more is considered prod deployment Change-Id: Ib36fdc43a7c94dc63ec9e31fe21eea475913c8d5 Reviewed-on: https://gerrit.libreoffice.org/33681 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js index e42e951..245fa56 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -380,8 +380,8 @@ L.Socket = L.Class.extend({ this._map._fatal = true; this._map._active = false; // Practically disconnected. - // Servers configured for more than 50 documents are not demo/development. - if (parseInt(command.params[0]) > 50) { + // Servers configured for 50 documents are not demo/development. + if (parseInt(command.params[0]) >= 50) { textMsg = errorMessages.limitreachedprod; textMsg = textMsg.replace(/%0/g, command.params[0]); textMsg = textMsg.replace(/%1/g, command.params[1]); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits