mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 04:20:05 +02:00
fix (silent) javascript error when trying clipboard actions in sharing
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user