forked from 0x2620/pandora
when navigating back, close and remove open dialogs
This commit is contained in:
parent
889e7f46a6
commit
fdeeb986d4
1 changed files with 3 additions and 0 deletions
|
@ -266,6 +266,9 @@ pandora.URL = (function() {
|
||||||
window.onpopstate = function(e) {
|
window.onpopstate = function(e) {
|
||||||
Ox.Request.cancel();
|
Ox.Request.cancel();
|
||||||
self.isPopState = true;
|
self.isPopState = true;
|
||||||
|
$('.OxDialog:visible').each(function() {
|
||||||
|
Ox.UI.elements[$(this).data('oxid')].close().remove();
|
||||||
|
});
|
||||||
if (
|
if (
|
||||||
pandora.user.ui.item
|
pandora.user.ui.item
|
||||||
&& pandora.user.ui.itemView == 'video'
|
&& pandora.user.ui.itemView == 'video'
|
||||||
|
|
Loading…
Reference in a new issue