misc fixes (disable special theme for firefox, keep vertical scrollbar in movies browser from appearing in firefox)
This commit is contained in:
parent
9aff249881
commit
b0f12e5ac3
5 changed files with 8 additions and 17 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue