summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-11-19 15:22:52 +0100
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:51 +0100
commitfd40b0663972b1bd1fe5e481fcf595289c8a33f8 (patch)
tree99bfa66af08b8ec2dd7381fd96e141cf5b309df7
parentce897f80e60a4e2258da89745b8fda030f548df8 (diff)
downloadnextcloud-server-fd40b0663972b1bd1fe5e481fcf595289c8a33f8.tar.gz
nextcloud-server-fd40b0663972b1bd1fe5e481fcf595289c8a33f8.zip
Patch for davclient.js for Firefox
-rw-r--r--core/vendor/davclient.js/lib/client.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js
index 39c1b0f3e93..121b5dcab5f 100644
--- a/core/vendor/davclient.js/lib/client.js
+++ b/core/vendor/davclient.js/lib/client.js
@@ -169,7 +169,7 @@ dav.Client.prototype = {
}
}.bind(this);
- var responseIterator = doc.evaluate('/d:multistatus/d:response', doc, resolver);
+ var responseIterator = doc.evaluate('/d:multistatus/d:response', doc, resolver, XPathResult.ANY_TYPE, null);
var result = [];
var responseNode = responseIterator.iterateNext();
@@ -181,19 +181,19 @@ dav.Client.prototype = {
propStat : []
};
- response.href = doc.evaluate('string(d:href)', responseNode, resolver).stringValue;
+ response.href = doc.evaluate('string(d:href)', responseNode, resolver, XPathResult.ANY_TYPE, null).stringValue;
- var propStatIterator = doc.evaluate('d:propstat', responseNode, resolver);
+ var propStatIterator = doc.evaluate('d:propstat', responseNode, resolver, XPathResult.ANY_TYPE, null);
var propStatNode = propStatIterator.iterateNext();
while(propStatNode) {
var propStat = {
- status : doc.evaluate('string(d:status)', propStatNode, resolver).stringValue,
+ status : doc.evaluate('string(d:status)', propStatNode, resolver, XPathResult.ANY_TYPE, null).stringValue,
properties : [],
};
- var propIterator = doc.evaluate('d:prop/*', propStatNode, resolver);
+ var propIterator = doc.evaluate('d:prop/*', propStatNode, resolver, XPathResult.ANY_TYPE, null);
var propNode = propIterator.iterateNext();
while(propNode) {