ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-17175. On Enabling HS Interactive default queue shown for llap is 'default' queue. (jaimin)
Date Sat, 11 Jun 2016 00:27:26 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 8e3ddf6a8 -> 03165065e


AMBARI-17175. On Enabling HS Interactive default queue shown for llap is 'default' queue.
(jaimin)


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

Branch: refs/heads/branch-2.4
Commit: 03165065e431eb0cea5cdcf5162e406717cfd97a
Parents: 8e3ddf6
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Fri Jun 10 17:27:48 2016 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Fri Jun 10 17:28:02 2016 -0700

----------------------------------------------------------------------
 .../common/configs/widgets/combo_config_widget_view.js   | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/03165065/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
index 0bf05f6..14504ae 100644
--- a/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/combo_config_widget_view.js
@@ -143,9 +143,14 @@ App.ComboConfigWidgetView = App.ConfigWidgetView.extend({
     }
   },
 
-  // setValue: function() {
-  //   this.setConfigValue({ context: this.get('config.value') });
-  // },
+  /**
+   * This method is called when the value of the widget is changed by recommendation received
from stack advisor api
+   * @override
+   * @method setValue
+   */
+   setValue: function() {
+     this.setConfigValue({ context: this.get('config.value') });
+   },
 
   isValueCompatibleWithWidget: function() {
     var res = this._super() && this.get('content.valuesList').someProperty('configValue',
this.get('config.value'));


Mime
View raw message