fix not working click on virtual structure (eg. "/apps/addressbook/$all"), because it uses mime "egw/addressbook"

This commit is contained in:
Ralf Becker 2014-12-18 13:46:44 +00:00
parent 3dee5e9a56
commit 6d9f4dd712

View File

@ -764,7 +764,7 @@ app.classes.filemanager = AppJS.extend(
{ {
} }
else if (widget.value.mime == 'httpd/unix-directory') else if (widget.value.is_dir) // true for "httpd/unix-directory" and "egw/*"
{ {
var path = null; var path = null;
// Cannot do this, there are multiple widgets named path // Cannot do this, there are multiple widgets named path