mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -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();
|
||||
|
|
|
@ -20,7 +20,7 @@ App.Templates.html = {
|
|||
</span>\
|
||||
<span class="icon ~!:ITEM_TYPE~!" ></span>\
|
||||
<input type="hidden" class="source" value=\'~!:SOURCE~!\'/>\
|
||||
<span class="filename ripple" ~!:CL_ACTION_1~!>~!:NAME~!</span>\
|
||||
<span class="filename-holder"><div class="filename ripple" ~!:CL_ACTION_1~!>~!:NAME~!</div></span>\
|
||||
<span class="mode">~!:PERMISSIONS~!</span>\
|
||||
<span class="owner">~!:OWNER~!</span>\
|
||||
<span class="size-unit">~!:SIZE_UNIT~!</span>\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue