mirror of
https://github.com/myvesta/vesta
synced 2025-07-07 13:31:53 -07:00
FileManager stuff
This commit is contained in:
parent
ab7c5e9ce3
commit
dce52823fb
7 changed files with 46 additions and 27 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue