AMBARI-13709 When editing alert notifications, changes to severity are not 
reflected. (atkach)


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

Branch: refs/heads/branch-dev-patch-upgrade
Commit: b8a9064ab1c6211deaf9f8d6f87760ac917b6c69
Parents: ac0db6e
Author: Andrii Tkach <[email protected]>
Authored: Wed Nov 4 13:23:22 2015 +0200
Committer: Andrii Tkach <[email protected]>
Committed: Wed Nov 4 13:23:22 2015 +0200

----------------------------------------------------------------------
 .../app/views/main/alerts/manage_alert_notifications_view.js     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b8a9064a/ambari-web/app/views/main/alerts/manage_alert_notifications_view.js
----------------------------------------------------------------------
diff --git 
a/ambari-web/app/views/main/alerts/manage_alert_notifications_view.js 
b/ambari-web/app/views/main/alerts/manage_alert_notifications_view.js
index c85d534..ff55ae9 100644
--- a/ambari-web/app/views/main/alerts/manage_alert_notifications_view.js
+++ b/ambari-web/app/views/main/alerts/manage_alert_notifications_view.js
@@ -55,11 +55,11 @@ App.ManageAlertNotificationsView = Em.View.extend({
 
   email: function () {
     return 
this.get('controller.selectedAlertNotification.properties')['ambari.dispatch.recipients'];
-  }.property('controller.selectedAlertNotification'),
+  }.property('controller.selectedAlertNotification.properties'),
 
   severities: function () {
     return 
this.get('controller.selectedAlertNotification.alertStates').join(', ');
-  }.property('controller.selectedAlertNotification'),
+  }.property('controller.selectedAlertNotification.alertStates'),
 
   /**
    * Enable/disable "edit"/"remove"/"duplicate" buttons basing on 
<code>controller.selectedAlertNotification</code>

Reply via email to