src/js/widgets/annotationsWidget.js
branchpopcorn-port
changeset 382 d68de477761b
parent 312 228b27fd2a7c
child 393 54947acf2770
--- a/src/js/widgets/annotationsWidget.js	Thu Dec 01 17:23:53 2011 +0100
+++ b/src/js/widgets/annotationsWidget.js	Thu Dec 01 17:24:58 2011 +0100
@@ -41,7 +41,7 @@
 IriSP.AnnotationsWidget.prototype.draw = function() {
   var _this = this;
 
-  var annotationMarkup = Mustache.to_html(IriSP.annotationWidget_template, {"share_template" : IriSP.share_template});
+  var annotationMarkup = IriSP.templToHTML(IriSP.annotationWidget_template);
 	this.selector.append(annotationMarkup);
 
   var annotations = this._serializer._data.annotations;