--- a/src/js/widgets.js Fri May 11 15:42:22 2012 +0200
+++ b/src/js/widgets.js Fri May 11 19:22:13 2012 +0200
@@ -101,7 +101,8 @@
}
IriSP.Widgets.Widget.prototype.getWidgetAnnotations = function() {
- return typeof this.annotation_type !== "undefined" && this.annotation_type ? this.source.getAnnotationsByTypeTitle(this.annotation_type) : this.source.getAnnotations();
+ var _curmedia = this.source.currentMedia;
+ return typeof this.annotation_type !== "undefined" && this.annotation_type ? _curmedia.getAnnotationsByTypeTitle(this.annotation_type) : _curmedia.getAnnotations();
}
/**