Elfinder: [ui:button] cmd dose not work when variants.length = 1

Created on 11 Aug 2017  路  7Comments  路  Source: Studio-42/elFinder

my server is only available Zip function & Create Zip successfully.
image

But using toolbar create achieve it's not work when there are other types not available(when only Zip available)
image

client bug

Most helpful comment

I done at 09a26df32efcd2f5d434e00726d31cc85827c00a. (#2142)

All 7 comments

@CodeLyokoXtEAM Thanks! 馃憤

Also How Can I add different icon to 'Create New Folder' and 'Into New Folder'?

It is a problem of the theme. Please ask the developers of the theme, or adjust CSS by yourself.

Got it. 馃憤
.elfinder .elfinder-button-icon-mkdir { background:url('../img/button/button-icon-Into-New-Folder.ico') no-repeat;}

correction:-
.elfinder .elfinder-contextmenu .elfinder-button-icon-mkdir { background:url('../img/button/button-icon-Into-New-Folder.ico') no-repeat;}

adding to contextmenu.css

@nao-pon
unfortunately
Both of them are defined is same in context menu
image
image

@CodeLyokoXtEAM OK, I'll add CSS class "elfinder-button-icon-mkdirin" to button

I done at 09a26df32efcd2f5d434e00726d31cc85827c00a. (#2142)

Was this page helpful?
0 / 5 - 0 ratings