diff --git a/frontend-js/src/main/js/map/data/MapModel.js b/frontend-js/src/main/js/map/data/MapModel.js index 7ff8d8d7c1b45205d66e7649c423149d82edca4d..6a3affcbc468987cd87055f14f977a82efb03361 100644 --- a/frontend-js/src/main/js/map/data/MapModel.js +++ b/frontend-js/src/main/js/map/data/MapModel.js @@ -606,7 +606,7 @@ MapModel.prototype.getByIdentifiedElement = function(ie, complete) { if (ie.getType()==="ALIAS") { return this.getAliasById(ie.getId(), complete); } else if (ie.getType()==="REACTION") { - return this.getReactionById(ie.getId()); + return this.getReactionById(ie.getId(), complete); } else { throw new Error("Unknown type: "+ie.getType(), complete); }