storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/2] git commit: STORM-489. remove uiActionsEnabled from js and templates.
Date Wed, 24 Sep 2014 19:54:23 GMT
Repository: storm
Updated Branches:
  refs/heads/security 154ec7b6d -> d45c1875c


STORM-489. remove uiActionsEnabled from js and templates.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/ce0b18a3
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/ce0b18a3
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/ce0b18a3

Branch: refs/heads/security
Commit: ce0b18a3915f1020042b90ca3e981e586175732b
Parents: 5f3a3a9
Author: Sriharsha Chintalapani <mail@harsha.io>
Authored: Sat Sep 6 20:11:24 2014 -0700
Committer: Sriharsha Chintalapani <mail@harsha.io>
Committed: Sat Sep 6 20:11:24 2014 -0700

----------------------------------------------------------------------
 storm-core/src/ui/public/js/script.js  | 3 +--
 storm-core/src/ui/public/topology.html | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/ce0b18a3/storm-core/src/ui/public/js/script.js
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/js/script.js b/storm-core/src/ui/public/js/script.js
index 09ecd57..9d75322 100644
--- a/storm-core/src/ui/public/js/script.js
+++ b/storm-core/src/ui/public/js/script.js
@@ -141,9 +141,8 @@ function renderToggleSys(div) {
     }
 }
 
-function topologyActionJson(id,name,status,msgTimeout, uiActionsEnabled) {
+function topologyActionJson(id,name,status,msgTimeout) {
     var jsonData = {};
-    jsonData["uiActionsEnabled"] = uiActionsEnabled;
     jsonData["id"] = id;
     jsonData["name"] = name;
     jsonData["msgTimeout"] = msgTimeout;

http://git-wip-us.apache.org/repos/asf/storm/blob/ce0b18a3/storm-core/src/ui/public/topology.html
----------------------------------------------------------------------
diff --git a/storm-core/src/ui/public/topology.html b/storm-core/src/ui/public/topology.html
index 805b6b4..cadec38 100644
--- a/storm-core/src/ui/public/topology.html
+++ b/storm-core/src/ui/public/topology.html
@@ -91,7 +91,7 @@ $(document).ready(function() {
         var topologyActions = $("#topology-actions");
         var topologyVisualization = $("#topology-visualization")
         var formattedConfig = formatConfigData(response["configuration"]);
-        var buttonJsonData = topologyActionJson(response["id"],response["name"],response["status"],response["msgTimeout"],
response["uiActionsEnabled"]);
+        var buttonJsonData = topologyActionJson(response["id"],response["name"],response["status"],response["msgTimeout"]);
         $.get("/templates/topology-page-template.html", function(template) {
             topologySummary.append(Mustache.render($(template).filter("#topology-summary-template").html(),response));
             topologyActions.append(Mustache.render($(template).filter("#topology-actions-template").html(),buttonJsonData));


Mime
View raw message