equal
deleted
inserted
replaced
25 this.selector.find(".Ldt-SaKeywordText").text(""); |
25 this.selector.find(".Ldt-SaKeywordText").text(""); |
26 }; |
26 }; |
27 |
27 |
28 IriSP.createAnnotationWidget.prototype.draw = function() { |
28 IriSP.createAnnotationWidget.prototype.draw = function() { |
29 var _this = this; |
29 var _this = this; |
30 |
30 var template_params = {cinecast_version: this.cinecast_version, |
|
31 polemic_mode: this.polemic_mode}; |
|
32 |
|
33 if (!IriSP.null_or_undefined(IriSP.user) && !IriSP.null_or_undefined(IriSP.user.avatar)) |
|
34 template_params["avatar"] = IriSP.user.avatar; |
|
35 |
31 var annotationMarkup = IriSP.templToHTML(IriSP.createAnnotationWidget_template, |
36 var annotationMarkup = IriSP.templToHTML(IriSP.createAnnotationWidget_template, |
32 {cinecast_version: this.cinecast_version, |
37 template_params); |
33 polemic_mode: this.polemic_mode}); |
|
34 |
38 |
35 this.selector.append(annotationMarkup); |
39 this.selector.append(annotationMarkup); |
36 |
40 |
37 if (!this.cinecast_version) |
41 if (!this.cinecast_version) |
38 this.selector.hide(); |
42 this.selector.hide(); |