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 <[email protected]> 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 +}
