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:
authorRobin Appelman <robin@icewind.nl>2017-09-18 15:08:30 +0300
committerRobin Appelman <robin@icewind.nl>2017-09-18 16:16:28 +0300
commit3eaf6626f838d180ed4608e6fc581b38d80a0107 (patch)
tree2c338f839af756cf87be98b36ccee79f57257f25 /core/vendor
parentd526969a686b550248da90257729326b463b167a (diff)
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];