roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adityasha...@apache.org
Subject [roller] 03/05: Fixed: sonarqube issue - 'e' is already declared in the upper scope
Date Mon, 04 Jan 2021 13:09:19 GMT
This is an automated email from the ASF dual-hosted git repository.

adityasharma pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git

commit 71a951edcb5218cf2f257d0e5898c865755606ef
Author: Aditya Sharma <adityasharma@apache.org>
AuthorDate: Mon Jan 4 17:40:17 2021 +0530

    Fixed: sonarqube issue - 'e' is already declared in the upper scope
---
 app/src/main/webapp/theme/scripts/clientSideInclude.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/src/main/webapp/theme/scripts/clientSideInclude.js b/app/src/main/webapp/theme/scripts/clientSideInclude.js
index 5a84141..02c4fe5 100644
--- a/app/src/main/webapp/theme/scripts/clientSideInclude.js
+++ b/app/src/main/webapp/theme/scripts/clientSideInclude.js
@@ -34,7 +34,7 @@ function clientSideInclude(id, url) {
     } catch (e) {
       try {
         req = new ActiveXObject("Microsoft.XMLHTTP");
-      } catch (e) {
+      } catch (er) {
         req = false;
       }
     }
@@ -68,4 +68,4 @@ function processReqChange() {
                 req.statusText);
          }
     }
-} 
\ No newline at end of file
+}


Mime
View raw message