Enable Writable Share Link only for directories

This commit is contained in:
Hadi Nategh 2017-11-03 16:53:02 +01:00
parent 8d10866706
commit 3cdece0d4c

View File

@ -194,6 +194,7 @@ class filemanager_ui
'group' => 1,
'icon' => 'share',
'allowOnMultiple' => false,
'enableClass' => 'isDir',
'order' => 11,
'onExecute' => 'javaScript:app.filemanager.share_link'
)),