misc fixes (disable special theme for firefox, keep vertical scrollbar in movies browser from appearing in firefox)

This commit is contained in:
rolux 2011-11-11 15:15:13 +00:00
commit b0f12e5ac3
5 changed files with 8 additions and 17 deletions

View file

@ -262,9 +262,11 @@ appPanel
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
});
/* disabled
if (data.user.level == 'guest' && $.browser.mozilla && !localStorage.OxTheme) {
pandora.user.ui.theme = 'classic';
}
*/
// set up url controller

View file

@ -326,6 +326,7 @@ pandora.ui.accountSignoutDialog = function() {
title: 'Sign Out'
}).bindEvent('click', function() {
that.close();
pandora.UI.set({page: ''});
pandora.api.signout({}, function(result) {
pandora.signout(result.data);
});

View file

@ -103,6 +103,7 @@ pandora.ui.browser = function() {
? pandora.site.user.ui.listSort: pandora.user.ui.listSort,
unique: 'id'
})
.css({overflowY: 'hidden'}) // this fixes a bug in firefox
.bindEvent({
open: function() {
that.scrollToSelection();

View file

@ -974,16 +974,6 @@ pandora.unloadWindow = function() {
*/
};
pandora.updateFindElement = function() {
var findState = pandora.user.ui._findState;
pandora.$ui.findSelect.value(findState.key);
pandora.$ui.findInput.options(
findState.key == 'advanced'
? {placeholder: 'Edit Query...', value: ''}
: {placeholder: '', value: findState.value}
);
};
(function() {
// Note: getFindState has to run after getListState and getFilterState