[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Thu May 24 14:36:50 UTC 2018
loleaflet/src/core/Socket.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4cc7e0197b6b37afa4bac5a5b7d7ef2f0c2145b1
Author: Henry Castro <hcastro at collabora.com>
Date: Thu May 24 10:32:28 2018 -0400
loleaflet: fixed js lint no-native-reassign
Change-Id: If5cd136c50638201fa23a94da9184111d1dcb5e1
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index edb1c2435..43a1ac752 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -608,12 +608,12 @@ L.Socket = L.Class.extend({
textMsg = textMsg.replace(/{connections}/g, command.params[1]);
textMsg = textMsg.replace(/{productname}/g, (typeof brandProductName !== 'undefined' ?
brandProductName : 'LibreOffice Online'));
- brandProductFAQURL = (typeof brandProductFAQURL !== 'undefined') ?
+ var brandFAQURL = (typeof brandProductFAQURL !== 'undefined') ?
brandProductFAQURL : 'https://hub.libreoffice.org/professional-online-support';
this._map.fire('infobar',
{
msg: textMsg,
- action: brandProductFAQURL,
+ action: brandFAQURL,
actionLabel: errorMessages.infoandsupport
});
}
More information about the Libreoffice-commits
mailing list