ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject ambari git commit: AMBARI-12891. Config group select tweaks.(xiwang)
Date Thu, 27 Aug 2015 01:02:40 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 b0c43b061 -> 83ee68809


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

Branch: refs/heads/branch-2.1
Commit: 83ee688090ceab4887726f49c47cbf9a7bbf7856
Parents: b0c43b0
Author: Xi Wang <xiwang@apache.org>
Authored: Wed Aug 26 16:18:13 2015 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Wed Aug 26 18:03:01 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/83ee6880/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index dd2ee28..cf8e1a3 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -5422,6 +5422,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/83ee6880/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;


Mime
View raw message