forked from extern/egroupware
fix TypeError stalling filemanager (eg. no context menu)
This commit is contained in:
parent
09c210415e
commit
ea8ef4d077
@ -933,7 +933,7 @@ export class filemanagerAPP extends EgwApp
|
||||
actions.push({
|
||||
id:_action.id+'_current', caption: current_dir, path: current_dir,
|
||||
enabled: dir && dir.data && dir.data.class && dir.data.class.indexOf('noEdit') === -1 ||
|
||||
!dir && path_widget && !path_widget.options.readonly
|
||||
!dir && path_widget && !path_widget.options?.readonly
|
||||
});
|
||||
|
||||
// Target, if directory
|
||||
|
Loading…
Reference in New Issue
Block a user