Removed unused variable isFile
This commit is contained in:
parent
7648bb05e9
commit
b0917dfac9
|
@ -330,12 +330,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
var resType = props[Client.PROPERTY_RESOURCETYPE];
|
var resType = props[Client.PROPERTY_RESOURCETYPE];
|
||||||
var isFile = true;
|
|
||||||
if (!data.mimetype && resType) {
|
if (!data.mimetype && resType) {
|
||||||
var xmlvalue = resType[0];
|
var xmlvalue = resType[0];
|
||||||
if (xmlvalue.namespaceURI === Client.NS_DAV && xmlvalue.nodeName.split(':')[1] === 'collection') {
|
if (xmlvalue.namespaceURI === Client.NS_DAV && xmlvalue.nodeName.split(':')[1] === 'collection') {
|
||||||
data.mimetype = 'httpd/unix-directory';
|
data.mimetype = 'httpd/unix-directory';
|
||||||
isFile = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue