This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new d640cea65 STORM-3958 - Fix JS syntax error in supervisor.html
d640cea65 is described below

commit d640cea65b1cbc71c85c220073e68442c3269a93
Author: Richard Zowalla <[email protected]>
AuthorDate: Tue Nov 14 09:17:19 2023 +0100

    STORM-3958 - Fix JS syntax error in supervisor.html
---
 .../src/main/java/org/apache/storm/daemon/ui/WEB-INF/supervisor.html  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/storm-webapp/src/main/java/org/apache/storm/daemon/ui/WEB-INF/supervisor.html 
b/storm-webapp/src/main/java/org/apache/storm/daemon/ui/WEB-INF/supervisor.html
index ba4af197b..2bb7c11da 100644
--- 
a/storm-webapp/src/main/java/org/apache/storm/daemon/ui/WEB-INF/supervisor.html
+++ 
b/storm-webapp/src/main/java/org/apache/storm/daemon/ui/WEB-INF/supervisor.html
@@ -114,9 +114,9 @@ $(document).ready(function() {
     });
 
     $.getJSON("/api/v1/cluster/configuration",function(response,status,jqXHR) {
-        var uiTitle = $("#ui-title");
+        const uiTitle = $("#ui-title");
         setStormUITitle(uiTitle, response);                            
-    };
+    });
 
     $.getJSON(url,function(response,status,jqXHR) {
         getStatic("/templates/supervisor-page-template.html", 
function(template) {

Reply via email to