From 3c8d7a90c8c451f7da9d668a5a289196c5b6ed25 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 3 Feb 2015 09:56:18 +0530 Subject: [PATCH] dont check render status while upload is running --- static/js/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index dc4387bdc..de19bbfeb 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -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') + ); } };