From commits-return-56788-archive-asf-public=cust-asf.ponee.io@activemq.apache.org Tue Aug 13 18:07:51 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DAFAC1804BB for ; Tue, 13 Aug 2019 20:07:50 +0200 (CEST) Received: (qmail 9910 invoked by uid 500); 13 Aug 2019 18:07:50 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 9901 invoked by uid 99); 13 Aug 2019 18:07:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2019 18:07:50 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 0E08D85F32; Tue, 13 Aug 2019 18:07:50 +0000 (UTC) Date: Tue, 13 Aug 2019 18:07:49 +0000 To: "commits@activemq.apache.org" Subject: [activemq-artemis] branch master updated: ARTEMIS-2444 Artemis hawtio plugin overriding sublevel tabs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <156571966981.27067.4315820278003752791@gitbox.apache.org> From: jbertram@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: activemq-artemis X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f303cd7ca92bcc8f4adfdbaf7cbaf4e6107ab312 X-Git-Newrev: 24c55c8eba1e40dc904e7a1ffc478c4074a7a906 X-Git-Rev: 24c55c8eba1e40dc904e7a1ffc478c4074a7a906 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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: ' 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: ' 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: ' 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: ' Create',