From 69a809cb3f02ce499f87f936ba0214add81da5c0 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 14 Oct 2013 09:01:03 +0000 Subject: [PATCH] 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 --- filemanager/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 76f2035df1..1ed9c91674 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -453,7 +453,8 @@ app.filemanager = AppJS.extend( { var data = egw.dataGetUIDdata(_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); }