You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/03/27 20:52:08 UTC
[4/5] ambari git commit: AMBARI-10252. Alert Definitions table: no
tooltip over State value after it's toggled(alexantonenko)
AMBARI-10252. Alert Definitions table: no tooltip over State value after it's toggled(alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5f7de770
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5f7de770
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5f7de770
Branch: refs/heads/trunk
Commit: 5f7de77033f0ade33207312f3af12daeadeff9b2
Parents: 77ccdf2
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Mar 27 19:46:34 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Mar 27 21:51:59 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/main/alert_definitions_controller.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5f7de770/ambari-web/app/controllers/main/alert_definitions_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/alert_definitions_controller.js b/ambari-web/app/controllers/main/alert_definitions_controller.js
index f1f7066..a1222e5 100644
--- a/ambari-web/app/controllers/main/alert_definitions_controller.js
+++ b/ambari-web/app/controllers/main/alert_definitions_controller.js
@@ -69,6 +69,9 @@ App.MainAlertDefinitionsController = Em.ArrayController.extend({
toggleDefinitionState: function (alertDefinition) {
var newState = !alertDefinition.get('enabled');
alertDefinition.set('enabled', newState);
+ Em.run.next(function () {
+ App.tooltip($('.enable-disable-button'));
+ });
return App.ajax.send({
name: 'alerts.update_alert_definition',
sender: this,