some more fixes
This commit is contained in:
parent
8cd2e78abc
commit
0f1f3cc81b
2 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,9 @@ pandora.URL = (function() {
|
||||||
update: function() {
|
update: function() {
|
||||||
var oldUserUI = Ox.clone(pandora.user.ui);
|
var oldUserUI = Ox.clone(pandora.user.ui);
|
||||||
Ox.Request.cancel();
|
Ox.Request.cancel();
|
||||||
|
$('video').each(function() {
|
||||||
|
$(this).trigger('ended');
|
||||||
|
});
|
||||||
this.parse();
|
this.parse();
|
||||||
if (pandora.user.ui.section != oldUserUI.section) {
|
if (pandora.user.ui.section != oldUserUI.section) {
|
||||||
pandora.$ui.appPanel.replaceElement(1, pandora.$ui.mainPanel = pandora.ui.mainPanel());
|
pandora.$ui.appPanel.replaceElement(1, pandora.$ui.mainPanel = pandora.ui.mainPanel());
|
||||||
|
|
|
@ -268,6 +268,8 @@ pandora.ui.list = function() { // fixme: remove view argument
|
||||||
$video.addClass('OxSelectedVideo');
|
$video.addClass('OxSelectedVideo');
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$('.OxSelectedVideo').removeClass('OxSelectedVideo');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue