forked from extern/egroupware
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
|
// Target will be missing ID if directory is empty
|
||||||
// so start with the current directory
|
// so start with the current directory
|
||||||
var parent = _action;
|
var parent = _action;
|
||||||
var nm = _target.manager.data.nextmatch;
|
var nm = _target ? _target.manager.data.nextmatch : null;
|
||||||
while(!nm && parent.parent)
|
while(!nm && parent.parent)
|
||||||
{
|
{
|
||||||
parent = parent.parent;
|
parent = parent.parent;
|
||||||
|
Loading…
Reference in New Issue
Block a user