Skip to content

Commit

Permalink
Revert "transform undefined values in r.modified to null so these att…
Browse files Browse the repository at this point in the history
…ributes will not be ignored by OpenLayers when writing out the WFS-T transaction XML (see #197"

This reverts commit 3ec70a6.
  • Loading branch information
Bart van den Eijnden committed Jul 14, 2013
1 parent 58faa42 commit 01f2b43
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/script/data/WFSProtocolProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,6 @@ gxp.data.WFSProtocolProxy = Ext.extend(GeoExt.data.ProtocolProxy, {
r.modified
)
});
// r.modified can contain undefined values, which will be
// ignored by OpenLayers in the WFS-T transaction request.
for (var key in feature.modified.attributes) {
if (feature.modified.attributes.hasOwnProperty(key) &&
feature.modified.attributes[key] === undefined) {
feature.modified.attributes[key] = null;
}
}
}, this);


Expand Down

0 comments on commit 01f2b43

Please sign in to comment.