ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pallav...@apache.org
Subject ambari git commit: AMBARI-20012. Ambari Views do not appear in full screen view (pallavkul)
Date Wed, 15 Feb 2017 02:59:26 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 2b563786a -> 93236829b


AMBARI-20012. Ambari Views do not appear in full screen view (pallavkul)


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

Branch: refs/heads/branch-2.5
Commit: 93236829bf918693b9f725c831ecea3467f256fa
Parents: 2b56378
Author: pallavkul <pallav.kul@gmail.com>
Authored: Wed Feb 15 08:26:50 2017 +0530
Committer: pallavkul <pallav.kul@gmail.com>
Committed: Wed Feb 15 08:29:03 2017 +0530

----------------------------------------------------------------------
 ambari-web/app/routes/view.js | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/93236829/ambari-web/app/routes/view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/routes/view.js b/ambari-web/app/routes/view.js
index 752f14d..50d8f4b 100644
--- a/ambari-web/app/routes/view.js
+++ b/ambari-web/app/routes/view.js
@@ -21,8 +21,15 @@ var App = require('app');
 module.exports = Em.Route.extend({
   route: '/view',
   enter: function (router) {
+    Em.$('body').addClass('contribview');
     router.get('mainViewsController').loadAmbariViews();
   },
+
+  exit:function (router) {
+    this._super();
+    Em.$('body').removeClass('contribview');
+  },
+
   index: Em.Route.extend({
     route: '/',
     connectOutlets: function (router) {


Mime
View raw message