redraw the widget after that an annotation has been added.
--- a/src/js/widgets/annotationsListWidget.js Fri Jan 27 11:29:03 2012 +0100
+++ b/src/js/widgets/annotationsListWidget.js Fri Jan 27 12:06:04 2012 +0100
@@ -183,6 +183,8 @@
this._Popcorn.listen("seeked", IriSP.wrap(this, this.ajaxRedraw));
this._Popcorn.listen("loadedmetadata", IriSP.wrap(this, this.ajaxRedraw));
this._Popcorn.listen("paused", IriSP.wrap(this, this.ajaxRedraw));
+
+ this._Popcorn.listen("IriSP.createAnnotationWidget.addedAnnotation", IriSP.wrap(this, this.ajaxRedraw));
}
};