Author: jaimin
Date: Fri Apr 12 22:38:36 2013
New Revision: 1467501
URL: http://svn.apache.org/r1467501
Log:
AMBARI-1921. Change tasks order in popup on deploy page
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/views/wizard/step9_view.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1467501&r1=1467500&r2=1467501&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Fri Apr 12 22:38:36 2013
@@ -245,6 +245,8 @@ Trunk (unreleased changes):
IMPROVEMENTS
+ AMBARI-1921. Change tasks order in popup on deploy page. (jaimin)
+
AMBARI-1913. Security Wizard - "Kerberos security is disabled on the cluster"
should not be shown in red. (jaimin)
Modified: incubator/ambari/trunk/ambari-web/app/views/wizard/step9_view.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/views/wizard/step9_view.js?rev=1467501&r1=1467500&r2=1467501&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/views/wizard/step9_view.js (original)
+++ incubator/ambari/trunk/ambari-web/app/views/wizard/step9_view.js Fri Apr 12
22:38:36 2013
@@ -236,8 +236,11 @@ App.HostStatusView = Em.View.extend({
tasks: function () {
var tasksArr = [];
var tasks = this.getStartedTasks(host);
- tasks = this.sortTasksById(tasks);
- tasks = this.groupTasksByRole(tasks);
+ //tasks = this.sortTasksById(tasks);
+ tasks = tasks.sort(function(a,b){
+ return a.Tasks.id - b.Tasks.id;
+ });
+ //tasks = this.groupTasksByRole(tasks);
if (tasks.length) {
tasks.forEach(function (_task) {
var taskInfo = Ember.Object.create({});