From 81af279e21c127bc0173f05d3b0e45faf1d3a5ce Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 26 Aug 2012 17:23:25 -0300 Subject: [PATCH] Hack for solving loading broken maps... --- mindplot/src/main/javascript/persistence/XMLSerializer_Pela.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindplot/src/main/javascript/persistence/XMLSerializer_Pela.js b/mindplot/src/main/javascript/persistence/XMLSerializer_Pela.js index 312b18db..e1669a34 100644 --- a/mindplot/src/main/javascript/persistence/XMLSerializer_Pela.js +++ b/mindplot/src/main/javascript/persistence/XMLSerializer_Pela.js @@ -305,7 +305,7 @@ mindplot.persistence.XMLSerializer_Pela = new Class({ } var order = domElem.getAttribute('order'); - if ($defined(order)) { + if ($defined(order) && order!="NaN") { // Hack for broken maps ... topic.setOrder(parseInt(order)); }