You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ha...@apache.org on 2017/03/18 06:55:51 UTC

[3/4] mesos git commit: Fixed a webui bug where the maintenance tab is not shown as active.

Fixed a webui bug where the maintenance tab is not shown as active.

Review: https://reviews.apache.org/r/57629


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

Branch: refs/heads/1.2.x
Commit: ee021d26c2191127bc296f733beea277fa5bed3a
Parents: bec31a5
Author: Benjamin Mahler <bm...@apache.org>
Authored: Tue Mar 14 19:03:49 2017 -0700
Committer: Haosdent Huang <ha...@apache.org>
Committed: Sat Mar 18 14:50:01 2017 +0800

----------------------------------------------------------------------
 src/webui/master/static/js/controllers.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ee021d26/src/webui/master/static/js/controllers.js
----------------------------------------------------------------------
diff --git a/src/webui/master/static/js/controllers.js b/src/webui/master/static/js/controllers.js
index 5ef3451..a2d2857 100644
--- a/src/webui/master/static/js/controllers.js
+++ b/src/webui/master/static/js/controllers.js
@@ -323,6 +323,10 @@
       {
         pathRegexp: /^\/offers/,
         tab: 'offers'
+      },
+      {
+        pathRegexp: /^\/maintenance/,
+        tab: 'maintenance'
       }
     ];