Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/files/client.js')
-rw-r--r--core/js/files/client.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 7e0e136989a..6ddd8b35558 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -330,12 +330,10 @@
}
var resType = props[Client.PROPERTY_RESOURCETYPE];
- var isFile = true;
if (!data.mimetype && resType) {
var xmlvalue = resType[0];
if (xmlvalue.namespaceURI === Client.NS_DAV && xmlvalue.nodeName.split(':')[1] === 'collection') {
data.mimetype = 'httpd/unix-directory';
- isFile = false;
}
}