Merge pull request #10598 from schoonc/patch-1
Removed unused variable isFile
This commit is contained in:
commit
46d340045d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue