FileManager stuff

This commit is contained in:
Serghey Rodin 2015-10-21 19:29:45 +03:00
parent ab7c5e9ce3
commit dce52823fb
7 changed files with 46 additions and 27 deletions

View file

@ -1174,8 +1174,13 @@ FM.selectItem = function(item, box) {
src = $.parseJSON(src);
var tab = FM.getTabLetter(FM.CURRENT_TAB);
if (FM.itemIsArchieve(src)) {
$('.menu-'+tab+' .extract-btn').show();
if($('.menu-'+tab+' .archive.button').first().is(':visible'))
$('.menu-'+tab+' .extract-btn').first().show();
else
$('.menu-'+tab+' .extract-btn.small').show();
}
else {
$('.menu-'+tab+' .extract-btn').hide();