src/js/widgets/annotationsWidget.js
branchpopcorn-port
changeset 130 f25676c72044
parent 125 960ce0b9f9f0
child 139 ba2b3c15bd47
equal deleted inserted replaced
129:296d9ddf9cc1 130:f25676c72044
    33     /* retract the pane between two annotations */
    33     /* retract the pane between two annotations */
    34     IriSP.jQuery("#Ldt-SaTitle").text("");
    34     IriSP.jQuery("#Ldt-SaTitle").text("");
    35     IriSP.jQuery("#Ldt-SaDescription").text("");
    35     IriSP.jQuery("#Ldt-SaDescription").text("");
    36     IriSP.jQuery("#Ldt-SaKeywordText").html("");
    36     IriSP.jQuery("#Ldt-SaKeywordText").html("");
    37     IriSP.jQuery('#Ldt-ShowAnnotation').slideUp();
    37     IriSP.jQuery('#Ldt-ShowAnnotation').slideUp();
    38 }
    38 };
       
    39 
    39 IriSP.AnnotationsWidget.prototype.draw = function() {
    40 IriSP.AnnotationsWidget.prototype.draw = function() {
    40   var _this = this;
    41   var _this = this;
    41 
    42 
    42   var annotationMarkup = Mustache.to_html(IriSP.annotationWidget_template, {"share_template" : IriSP.share_template});
    43   var annotationMarkup = Mustache.to_html(IriSP.annotationWidget_template, {"share_template" : IriSP.share_template});
    43 	IriSP.jQuery("#Ldt-Ligne").append(annotationMarkup);
    44 	IriSP.jQuery("#Ldt-Ligne").append(annotationMarkup);