From 52bd9f528464016c6e17931fe6277d83a7376f97 Mon Sep 17 00:00:00 2001 From: booo Date: Sat, 17 Nov 2012 14:48:51 +0100 Subject: [PATCH] Fix xml format/export. Error in line 33 was: Uncaught TypeError: Cannot call method 'decode' of undefined --- js/iD/format/XML.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/iD/format/XML.js b/js/iD/format/XML.js index 24e3938b8..437c5e3ee 100644 --- a/js/iD/format/XML.js +++ b/js/iD/format/XML.js @@ -30,7 +30,7 @@ iD.format.XML = { )); }, way: function(entity) { - return iD.XML.decode( + return iD.format.XML.decode( (new XMLSerializer()).serializeToString( JXON.unbuild({ way: {