You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2014/09/19 19:19:34 UTC

[26/29] git commit: AMBARI-7412. Slider View: Alerts keep jumping in a Slider App (alexantonenko)

AMBARI-7412. Slider View: Alerts keep jumping in a Slider App (alexantonenko)


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

Branch: refs/heads/branch-alerts-dev
Commit: 5da5019a81323dbb3ef2a5699afac28679b138ea
Parents: 843579e
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Sep 19 18:47:41 2014 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Sep 19 18:48:08 2014 +0300

----------------------------------------------------------------------
 .../slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5da5019a/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
----------------------------------------------------------------------
diff --git a/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js b/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
index 7312f86..ebff57c 100644
--- a/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
+++ b/contrib/views/slider/src/main/resources/ui/app/mappers/slider_apps_mapper.js
@@ -59,6 +59,7 @@ App.SliderAppsMapper = App.Mapper.createWithMixins(App.RunPeriodically, {
           lastCheck: alert.last_status_time
         });
       });
+      alerts = alerts.sortBy('title');
       App.SliderApp.store.pushMany('sliderAppAlert', alerts);
     }
     return alerts.mapProperty('id');