check if video is done while in a view that might benefit from it: info or video view

This commit is contained in:
j 2014-04-11 18:32:17 +00:00
commit d6b5fa6993
2 changed files with 44 additions and 1 deletions

View file

@ -52,7 +52,7 @@ pandora.ui.item = function() {
+'{1} view.', [result.data.title, Ox._(pandora.user.ui.itemView)])
)
);
pandora.updateStatus(pandora.user.ui.item);
} else if (pandora.user.ui.itemView == 'info') {
pandora.$ui.contentPanel.replaceElement(1,
@ -63,6 +63,7 @@ pandora.ui.item = function() {
}
})
);
!result.data.rendered && pandora.updateStatus(pandora.user.ui.item);
} else if (pandora.user.ui.itemView == 'documents') {