summaryrefslogtreecommitdiffstats
path: root/core/vendor
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-09-18 14:08:30 +0200
committerRobin Appelman <robin@icewind.nl>2017-09-18 15:16:28 +0200
commit3eaf6626f838d180ed4608e6fc581b38d80a0107 (patch)
tree2c338f839af756cf87be98b36ccee79f57257f25 /core/vendor
parentd526969a686b550248da90257729326b463b167a (diff)
downloadnextcloud-server-3eaf6626f838d180ed4608e6fc581b38d80a0107.tar.gz
nextcloud-server-3eaf6626f838d180ed4608e6fc581b38d80a0107.zip
merge vendor js
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/vendor')
-rw-r--r--core/vendor/core.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/vendor/core.js b/core/vendor/core.js
index 8cdb203aacd..bda270892ad 100644
--- a/core/vendor/core.js
+++ b/core/vendor/core.js
@@ -5551,6 +5551,9 @@ dav.Client.prototype = {
' <d:prop>\n';
for(var ii in properties) {
+ if (!properties.hasOwnProperty(ii)) {
+ continue;
+ }
var property = this.parseClarkNotation(properties[ii]);
if (this.xmlNamespaces[property.namespace]) {
@@ -5596,6 +5599,10 @@ dav.Client.prototype = {
' <d:prop>\n';
for(var ii in properties) {
+ if (!properties.hasOwnProperty(ii)) {
+ continue;
+ }
+
var property = this.parseClarkNotation(ii);
var propName;
var propValue = properties[ii];