You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/07/16 03:08:21 UTC

git commit: AMBARI-6497. Sqoop service should not have a config tab. (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk 9075909f0 -> 8c5490e59


AMBARI-6497. Sqoop service should not have a config tab. (jaimin)


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

Branch: refs/heads/trunk
Commit: 8c5490e5992e94121cb1959fe1b8a4fcb633077f
Parents: 9075909
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Tue Jul 15 18:07:57 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Tue Jul 15 18:08:03 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/item.js | 2 +-
 ambari-web/app/views/main/service/item.js       | 2 +-
 ambari-web/app/views/main/service/menu.js       | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8c5490e5/ambari-web/app/controllers/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/item.js b/ambari-web/app/controllers/main/service/item.js
index 6a24ab6..c740d3f 100644
--- a/ambari-web/app/controllers/main/service/item.js
+++ b/ambari-web/app/controllers/main/service/item.js
@@ -49,7 +49,7 @@ App.MainServiceItemController = Em.Controller.extend({
   }.property('content.serviceName'),
 
   isConfigurable: function () {
-    return !App.get('services.noConfigTypes').concat('HCATALOG').contains('content.serviceName');
+    return !App.get('services.noConfigTypes').concat('HCATALOG').contains(this.get('content.serviceName'));
   }.property('App.services.noConfigTypes','content.serviceName'),
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/8c5490e5/ambari-web/app/views/main/service/item.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/item.js b/ambari-web/app/views/main/service/item.js
index 62eca62..cd0bc0a 100644
--- a/ambari-web/app/views/main/service/item.js
+++ b/ambari-web/app/views/main/service/item.js
@@ -154,7 +154,7 @@ App.MainServiceItemView = Em.View.extend({
   }.property('maintenance'),
 
   hasConfigTab: function() {
-    return !App.get('services.noConfigTypes').concat('HCATALOG').contains('controller.content.serviceName');
+    return !App.get('services.noConfigTypes').concat('HCATALOG').contains(this.get('controller.content.serviceName'));
   }.property('controller.content.serviceName','App.services.noConfigTypes'),
 
   didInsertElement: function () {

http://git-wip-us.apache.org/repos/asf/ambari/blob/8c5490e5/ambari-web/app/views/main/service/menu.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/service/menu.js b/ambari-web/app/views/main/service/menu.js
index 6731f2d..e7d5f3b 100644
--- a/ambari-web/app/views/main/service/menu.js
+++ b/ambari-web/app/views/main/service/menu.js
@@ -75,7 +75,7 @@ App.MainServiceMenuView = Em.CollectionView.extend({
     }.property('content.criticalAlertsCount'),
 
     isConfigurable: function () {
-      return !App.get('services.noConfigTypes').concat('HCATALOG').contains('content.serviceName');
+      return !App.get('services.noConfigTypes').concat('HCATALOG').contains(this.get('content.serviceName'));
     }.property('App.services.noConfigTypes','content.serviceName'),
 
     link: function() {
@@ -173,7 +173,7 @@ App.TopNavServiceMenuView = Em.CollectionView.extend({
     }.property('content.criticalAlertsCount'),
 
     isConfigurable: function () {
-      return !App.get('services.noConfigTypes').concat('HCATALOG').contains('content.serviceName');
+      return !App.get('services.noConfigTypes').concat('HCATALOG').contains(this.get('content.serviceName'));
     }.property('App.services.noConfigTypes','content.serviceName'),
 
     link: function() {