disable on list

This commit is contained in:
j 2015-03-21 13:11:46 +05:30
parent d3ce9198ce
commit de6705a993

View file

@ -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({