activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbert...@apache.org
Subject [activemq-artemis] branch master updated: ARTEMIS-2444 Artemis hawtio plugin overriding sublevel tabs
Date Tue, 13 Aug 2019 18:07:49 GMT
This is an automated email from the ASF dual-hosted git repository.

jbertram pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
     new 24c55c8  ARTEMIS-2444 Artemis hawtio plugin overriding sublevel tabs
     new 0a41c1e  This closes #2779
24c55c8 is described below

commit 24c55c8eba1e40dc904e7a1ffc478c4074a7a906
Author: TonyJulin <anthony.julin@connexta.com>
AuthorDate: Thu Aug 1 15:17:03 2019 -0700

    ARTEMIS-2444 Artemis hawtio plugin overriding sublevel tabs
---
 .../src/main/webapp/plugin/js/artemisPlugin.js     | 30 +---------------------
 1 file changed, 1 insertion(+), 29 deletions(-)

diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js
index 9ffa6b2..1dcff17 100644
--- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js
+++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/artemisPlugin.js
@@ -218,35 +218,7 @@ var ARTEMIS = (function(ARTEMIS) {
          }
       });
 
-      subLevelTabs = [];
-
-      subLevelTabs.push({
-         content: '<i class="icon-list"></i> Attributes',
-         title: "View the attribute values on your selection",
-         isValid: function () {
-           return true;
-         },
-           href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/attributes";
else return  "#/jmx/attributes";}
-      });
-
-      subLevelTabs.push({
-         content: '<i class="icon-leaf"></i> Operations',
-         title: "Execute operations on your selection",
-         isValid: function () {
-           return true;
-         },
-         href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/operations";
else return  "#/jmx/operations";}
-      });
-
-      subLevelTabs.push({
-         content: '<i class="icon-bar-chart"></i> Chart',
-         title: "View a chart of the metrics on your selection",
-         isValid: function () {
-           return true;
-         },
-         href: function () { if (workspace.isTopTabActive("artemis")) return "#/jmx/charts";
else return  "#/jmx/charts";}
-      });
-
+      subLevelTabs = workspace.subLevelTabs;
 
       subLevelTabs.push({
          content: '<i class="icon-plus"></i> Create',


Mime
View raw message