From 17abf005a8b3b2a128b967dc7e87db825c94d01b Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 22 Jun 2016 23:34:27 +0200 Subject: [PATCH] loleaflet: Collabora Office version x.y-z style in About box LibreOffice is unaffected --- 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 f8b55640b..8ca60029f 100644 --- a/loleaflet/src/core/Socket.js +++ b/loleaflet/src/core/Socket.js @@ -139,7 +139,7 @@ L.Socket = L.Class.extend({ else if (textMsg.startsWith('lokitversion ')) { var lokitVersionObj = JSON.parse(textMsg.substring(textMsg.indexOf('{'))); $('#lokit-version').text(lokitVersionObj.ProductName + ' ' + - lokitVersionObj.ProductVersion + lokitVersionObj.ProductExtension + + lokitVersionObj.ProductVersion + lokitVersionObj.ProductExtension.replace('.10.','-') + ' (git hash: ' + lokitVersionObj.BuildId.substring(0, 7) + ')'); } else if (textMsg.startsWith('error:') && command.errorCmd === 'load') {