Filemanager: Fix broken drag

Gave error "Uncaught app.filemanager.drag is not a function", because app.filemanager.drag was removed in 2014 (96d9f14)
This commit is contained in:
nathan 2023-02-17 09:16:13 -07:00
parent 9cc1f08d63
commit e19cef1c07

View File

@ -243,8 +243,7 @@ class filemanager_ui
// DRAG and DROP events // DRAG and DROP events
'file_drag' => array( 'file_drag' => array(
'dragType' => array('file','link'), 'dragType' => array('file','link'),
'type' => 'drag', 'type' => 'drag'
'onExecute' => 'javaScript:app.filemanager.drag'
), ),
'file_drop_mail' => array( 'file_drop_mail' => array(
'type' => 'drop', 'type' => 'drop',