You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by pa...@apache.org on 2017/02/15 02:58:10 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 5b53d8481 -> 39c0b9289


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/39c0b928
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/39c0b928
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/39c0b928

Branch: refs/heads/trunk
Commit: 39c0b92890c7ddd229187abc041f490effa86e7d
Parents: 5b53d84
Author: pallavkul <pa...@gmail.com>
Authored: Wed Feb 15 08:26:50 2017 +0530
Committer: pallavkul <pa...@gmail.com>
Committed: Wed Feb 15 08:26:50 2017 +0530

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/39c0b928/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) {