dont check render status while upload is running

This commit is contained in:
j 2015-02-03 09:56:18 +05:30
parent f1f9c7369b
commit 3c8d7a90c8

View file

@ -2353,7 +2353,9 @@ pandora.updateStatus = function(item) {
function isActive() {
return ui.item == item && [
'info', 'player', 'editor', 'timeline'
].indexOf(ui.itemView) > -1;
].indexOf(ui.itemView) > -1 && (
!pandora.$ui.uploadVideoDialog || pandora.$ui.uploadVideoDialog.is('::visible')
);
}
};