You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2015/08/27 03:01:11 UTC

ambari git commit: AMBARI-12891. Config group select tweaks.(xiwang)

Repository: ambari
Updated Branches:
  refs/heads/trunk 892270d0d -> 84339970b


AMBARI-12891. Config group select tweaks.(xiwang)


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

Branch: refs/heads/trunk
Commit: 84339970bbca782bbf05e0382d7cfa95b06ad438
Parents: 892270d
Author: Xi Wang <xi...@apache.org>
Authored: Wed Aug 26 16:18:13 2015 -0700
Committer: Xi Wang <xi...@apache.org>
Committed: Wed Aug 26 18:01:12 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/styles/application.less                     | 5 +++++
 ambari-web/app/views/common/configs/service_config_view.js | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/84339970/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index d9ec7d7..0dde3bf 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -5439,6 +5439,11 @@ input[type="radio"].align-checkbox, input[type="checkbox"].align-checkbox {
   .select-create-config-group-div {
     margin-left: 20px;
     margin-bottom: 20px;
+    .btn-group >.dropdown-menu {
+      max-height: 160px;
+      max-width: 300px;
+      overflow: scroll;
+    }
   }
   .message{
     color: #777;

http://git-wip-us.apache.org/repos/asf/ambari/blob/84339970/ambari-web/app/views/common/configs/service_config_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/service_config_view.js b/ambari-web/app/views/common/configs/service_config_view.js
index 232eca1..29bd226 100644
--- a/ambari-web/app/views/common/configs/service_config_view.js
+++ b/ambari-web/app/views/common/configs/service_config_view.js
@@ -313,8 +313,8 @@ App.ConfigGroupDropdownView = Ember.TextField.extend({
    */
   disabled: function () {
     if (this.get('controller.isInstaller')) return false;
-    return !this.get('controller.versionLoaded');
-  }.property('controller.versionLoaded', 'controller.isInstaller'),
+    return !this.get('controller.versionLoaded') || this.get('controller.isHostsConfigsPage');
+  }.property('controller.versionLoaded', 'controller.isInstaller', 'controller.isHostsConfigsPage'),
 
   didInsertElement: function() {
     var self = this;