src/widgets/Annotation.js
changeset 1025 5fb8d735fde0
parent 1013 392ddcd212d7
child 1033 c20df1c080e6
equal deleted inserted replaced
1024:894079bece86 1025:5fb8d735fde0
   124         if (_this.show_creator) {
   124         if (_this.show_creator) {
   125              _this.$.find(".Ldt-Annotation-Creator").text(_annotation.creator);
   125              _this.$.find(".Ldt-Annotation-Creator").text(_annotation.creator);
   126         }
   126         }
   127         if (_this.show_annotation_type) {
   127         if (_this.show_annotation_type) {
   128             _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title);
   128             _this.$.find(".Ldt-Annotation-Type").text(_annotation.getAnnotationType().title);
       
   129             _this.$.find(".Ldt-Annotation-Type").attr("title", _annotation.getAnnotationType().description);
   129         }
   130         }
   130         _this.$.find(".Ldt-Annotation-Begin").text(_annotation.begin.toString());
   131         _this.$.find(".Ldt-Annotation-Begin").text(_annotation.begin.toString());
   131         _this.$.find(".Ldt-Annotation-End").text(_annotation.end.toString());
   132         _this.$.find(".Ldt-Annotation-End").text(_annotation.end.toString());
   132         if (_annotation.elementType === "mashedAnnotation") {
   133         if (_annotation.elementType === "mashedAnnotation") {
   133             _this.$.find('.Ldt-Annotation-Inner').addClass("Ldt-Annotation-isMashup");
   134             _this.$.find('.Ldt-Annotation-Inner').addClass("Ldt-Annotation-isMashup");