mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
filemanager redirected /apps/$app to webdav.php instead of opening it, using now css class isDir as further indicator for directories, eg. with symlink mime-type
This commit is contained in:
parent
ceb20da716
commit
69a809cb3f
@ -453,7 +453,8 @@ app.filemanager = AppJS.extend(
|
|||||||
{
|
{
|
||||||
var data = egw.dataGetUIDdata(_senders[0].id);
|
var data = egw.dataGetUIDdata(_senders[0].id);
|
||||||
var path = this.id2path(_senders[0].id);
|
var path = this.id2path(_senders[0].id);
|
||||||
if (data.data.mime == 'httpd/unix-directory')
|
// symlinks dont have mime 'http/unix-directory', but server marks all directories with class 'isDir'
|
||||||
|
if (data.data.mime == 'httpd/unix-directory' || data.data['class'] && data.data['class'].split(/ +/).indexOf('isDir') != -1)
|
||||||
{
|
{
|
||||||
this.change_dir(path);
|
this.change_dir(path);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user