diff options
Diffstat (limited to 'core/vendor/core.js')
-rw-r--r-- | core/vendor/core.js | 7 |
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]; |