diff -r 029a4efe9e24 -r 4b6e154ae8de src/widgets/Polemic.js --- a/src/widgets/Polemic.js Mon May 21 13:17:47 2012 +0200 +++ b/src/widgets/Polemic.js Tue May 22 16:49:48 2012 +0200 @@ -155,7 +155,7 @@ function displayElement(_x, _y, _color, _id, _title) { _html += Mustache.to_html( - '
', { id: _id, @@ -173,13 +173,13 @@ var _y = _this.height; _slice.annotations.forEach(function(_annotation) { _y -= _this.element_height; - displayElement(_x, _y, _this.defaultcolor, _annotation.id, _annotation.title); + displayElement(_x, _y, _this.defaultcolor, _annotation.namespacedId.name, _annotation.title); }); IriSP._(_slice.polemicStacks).forEach(function(_annotations, _j) { var _color = _this.polemics[_j].color; _annotations.forEach(function(_annotation) { _y -= _this.element_height; - displayElement(_x, _y, _color, _annotation.id, _annotation.title); + displayElement(_x, _y, _color, _annotation.namespacedId.name, _annotation.title); }); }); _x += _this.element_width; @@ -226,7 +226,7 @@ function displayStackElement(_x, _y, _h, _color, _nums, _begin, _end) { _html += Mustache.to_html( - '
', { nums: _nums,