mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
file manager fixes
This commit is contained in:
parent
9ce85c8bc6
commit
899b3d282b
3 changed files with 18 additions and 4 deletions
|
@ -267,10 +267,13 @@
|
|||
var src = $(item).find('.source').val();
|
||||
src = $.parseJSON(src);
|
||||
var tab = FM.getTabLetter(FM.CURRENT_TAB);
|
||||
|
||||
if (FM.itemIsArchieve(src)) {
|
||||
$('.menu-'+tab+' .extract-btn').show();
|
||||
}
|
||||
else {
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue