in map and calendar view, move sort select and order button to clips panel

This commit is contained in:
rolux 2011-10-31 13:20:42 +00:00
commit 8c77c5c5b1
4 changed files with 25 additions and 67 deletions

View file

@ -1,6 +1,6 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
pandora.ui.orderButton = function() {
pandora.ui.orderButton = function(isNavigationView) {
var sortKey = !pandora.user.ui.item ? 'listSort' : 'itemSort',
that = Ox.Button({
id: 'orderButton',
@ -9,8 +9,8 @@ pandora.ui.orderButton = function() {
type: 'image'
})
.css({
float: 'left',
margin: '4px 0 0 4px'
float: isNavigationView ? 'right' : 'left',
margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px'
})
.bindEvent({
click: function(data) {