loleaflet: Collabora Office version x.y-z style in About box

LibreOffice is unaffected
This commit is contained in:
Andras Timar 2016-06-22 23:34:27 +02:00
parent 10a5f8c08b
commit 17abf005a8

View file

@ -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') {