Fix the share mail notification when the item is in a folder
This commit is contained in:
parent
f2d46693c6
commit
b4471c2591
1 changed files with 5 additions and 0 deletions
|
@ -122,6 +122,11 @@ class MailNotifications {
|
|||
$args = array(
|
||||
'dir' => $filename,
|
||||
);
|
||||
} else if (strpos($filename, '/')) {
|
||||
$args = array(
|
||||
'dir' => '/' . dirname($filename),
|
||||
'scrollto' => basename($filename),
|
||||
);
|
||||
} else {
|
||||
$args = array(
|
||||
'dir' => '/',
|
||||
|
|
Loading…
Reference in a new issue