mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fix (silent) javascript error when trying clipboard actions in sharing
This commit is contained in:
parent
3689b3d645
commit
138afa94fb
@ -933,7 +933,7 @@ app.classes.filemanager = AppJS.extend(
|
||||
// Target will be missing ID if directory is empty
|
||||
// so start with the current directory
|
||||
var parent = _action;
|
||||
var nm = _target.manager.data.nextmatch;
|
||||
var nm = _target ? _target.manager.data.nextmatch : null;
|
||||
while(!nm && parent.parent)
|
||||
{
|
||||
parent = parent.parent;
|
||||
|
Loading…
Reference in New Issue
Block a user