You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/05/17 02:23:22 UTC
git commit: AMBARI-5801. Views: file sort control not set on first
view. (jaimin)
Repository: ambari
Updated Branches:
refs/heads/trunk 01a2fa555 -> 109682544
AMBARI-5801. Views: file sort control not set on first view. (jaimin)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/10968254
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/10968254
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/10968254
Branch: refs/heads/trunk
Commit: 10968254477d7e2942af455125528afec8610352
Parents: 01a2fa5
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Fri May 16 17:22:56 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Fri May 16 17:22:56 2014 -0700
----------------------------------------------------------------------
contrib/views/files/src/main/resources/ui/app/views/file.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/10968254/contrib/views/files/src/main/resources/ui/app/views/file.js
----------------------------------------------------------------------
diff --git a/contrib/views/files/src/main/resources/ui/app/views/file.js b/contrib/views/files/src/main/resources/ui/app/views/file.js
index b9ee3bc..05ca746 100644
--- a/contrib/views/files/src/main/resources/ui/app/views/file.js
+++ b/contrib/views/files/src/main/resources/ui/app/views/file.js
@@ -198,7 +198,7 @@ App.FilesView = Em.View.extend({
this.set('asc',true);
this.set('cur',false);
};
- }.observes('controller.sortProperties','controller.sortAscending'),
+ }.observes('controller.sortProperties','controller.sortAscending').on('init'),
tagName:'span',
classNames:['pull-right'],
template:Ember.Handlebars.compile('<i {{bind-attr class=":fa view.asc:fa-chevron-down:fa-chevron-up view.cur::fa-gr view.cur::fa-rotate-270" }} ></i>')