[Libreoffice-commits] online.git: loleaflet/dist

Henry Castro hcastro at collabora.com
Wed Apr 25 20:52:28 UTC 2018


 loleaflet/dist/admin/admin.html          |    2 +-
 loleaflet/dist/admin/adminAnalytics.html |    2 +-
 loleaflet/dist/admin/adminHistory.html   |    2 +-
 loleaflet/dist/admin/adminSettings.html  |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 11f00f3c1f1aaf9f37edb884c63ccf4331286596
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed Apr 25 15:53:38 2018 -0400

    loleaflet: fix console log uncaught reference error
    
    Change-Id: Ic3813cd7857a646949183ba9b54fca8377069ea3

diff --git a/loleaflet/dist/admin/admin.html b/loleaflet/dist/admin/admin.html
index 306da27f7..0439ac16f 100644
--- a/loleaflet/dist/admin/admin.html
+++ b/loleaflet/dist/admin/admin.html
@@ -20,7 +20,7 @@
   <body>
     <script src="/loleaflet/dist/admin-bundle.js"></script>
     <script src="/loleaflet/dist/branding.js"></script>
-    <script>if (brandProductName) {l10nstrings.strProductName = brandProductName}</script>
+    <script>if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}</script>
     <script>document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole</script>
     <script>
       if (window.location.protocol == "https:") {
diff --git a/loleaflet/dist/admin/adminAnalytics.html b/loleaflet/dist/admin/adminAnalytics.html
index 34b78c30a..722629435 100644
--- a/loleaflet/dist/admin/adminAnalytics.html
+++ b/loleaflet/dist/admin/adminAnalytics.html
@@ -20,7 +20,7 @@
   <body>
     <script src="/loleaflet/dist/admin-bundle.js"></script>
     <script src="/loleaflet/dist/branding.js"></script>
-    <script>if (brandProductName) {l10nstrings.strProductName = brandProductName}</script>
+    <script>if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}</script>
     <script>document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole</script>
     <script>
         if (window.location.protocol == "https:") {
diff --git a/loleaflet/dist/admin/adminHistory.html b/loleaflet/dist/admin/adminHistory.html
index 76dec2c9b..17184045a 100644
--- a/loleaflet/dist/admin/adminHistory.html
+++ b/loleaflet/dist/admin/adminHistory.html
@@ -21,7 +21,7 @@
   <body>
     <script src="/loleaflet/dist/admin-bundle.js"></script>
     <script src="/loleaflet/dist/branding.js"></script>
-    <script>if (brandProductName) {l10nstrings.strProductName = brandProductName}</script>
+    <script>if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}</script>
     <script>document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole</script>
     <script>
         if (window.location.protocol == "https:") {
diff --git a/loleaflet/dist/admin/adminSettings.html b/loleaflet/dist/admin/adminSettings.html
index 7ca0061a4..9238354f5 100644
--- a/loleaflet/dist/admin/adminSettings.html
+++ b/loleaflet/dist/admin/adminSettings.html
@@ -20,7 +20,7 @@
   <body>
     <script src="/loleaflet/dist/admin-bundle.js"></script>
     <script src="/loleaflet/dist/branding.js"></script>
-    <script>if (brandProductName) {l10nstrings.strProductName = brandProductName}</script>
+    <script>if (typeof brandProductName !== 'undefined') {l10nstrings.strProductName = brandProductName}</script>
     <script>document.title = l10nstrings.strProductName + ' - ' + l10nstrings.strAdminConsole</script>
     <script>
         if (window.location.protocol == "https:") {


More information about the Libreoffice-commits mailing list