minor cleanup

This commit is contained in:
rolux 2012-06-15 17:20:22 +00:00
parent b331137054
commit 0d71925daa
3 changed files with 2 additions and 9 deletions

View file

@ -252,6 +252,3 @@ pandora.ui.editor = function(data) {
return that; return that;
}; };

View file

@ -77,11 +77,7 @@ pandora.ui.listDialog = function(section) {
}) })
], ],
}) })
.css({ .css({float: 'right', margin: '4px', align: 'right'});
float: 'right',
margin: '4px',
align: 'right'
});
if (section != 'icon') { if (section != 'icon') {
$findElement.hide(); $findElement.hide();
} }

View file

@ -14,7 +14,7 @@ pandora.ui.orderButton = function(isNavigationView) {
margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px' margin: isNavigationView ? '4px 4px 0 0' : '4px 0 0 4px'
}) })
.bindEvent({ .bindEvent({
click: function(data) { click: function() {
pandora.UI.set(sortKey, [{ pandora.UI.set(sortKey, [{
key: pandora.user.ui[sortKey][0].key, key: pandora.user.ui[sortKey][0].key,
operator: pandora.user.ui[sortKey][0].operator == '+' ? '-' : '+' operator: pandora.user.ui[sortKey][0].operator == '+' ? '-' : '+'