From de6705a993cfaea9bb72e961c74cde77f1250a89 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 21 Mar 2015 13:11:46 +0530 Subject: [PATCH] disable on list --- static/js/cacheDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/cacheDialog.js b/static/js/cacheDialog.js index dc1d0903..2ceefe7c 100644 --- a/static/js/cacheDialog.js +++ b/static/js/cacheDialog.js @@ -103,6 +103,7 @@ pandora.ui.cacheDialog = function() { title: 'Cache Video...', width: 128, disabled: pandora.user.ui.section != 'items' + || pandora.user.ui.item == '' || !!pandora.fs.getVideoURL(pandora.user.ui.item, pandora.user.ui.videoResolution, 1) }) .css({