Minor fix.

This commit is contained in:
Paulo Veiga 2011-11-27 21:39:49 -03:00
parent c078b7bd6b
commit 5fc6c19ef4
2 changed files with 6 additions and 2 deletions

View File

@ -273,7 +273,9 @@ mindplot.XMLMindmapSerializer_Beta = new Class({
},
_deserializeIcon : function(domElem, topic) {
return topic.createIcon(domElem.getAttribute("id"));
var icon = domElem.getAttribute("id");
icon = icon.replace("images/", "icons/legacy/");
return topic.createIcon(icon);
},
_deserializeLink : function(domElem, topic) {

View File

@ -341,7 +341,9 @@ mindplot.XMLMindmapSerializer_Pela = new Class({
},
_deserializeIcon : function(domElem, topic) {
return topic.createIcon(domElem.getAttribute("id"));
var icon = domElem.getAttribute("id");
icon = icon.replace("images/","icons/legacy/");
return topic.createIcon(icon);
},
_deserializeLink : function(domElem, topic) {