# HG changeset patch # User cavaliet # Date 1388665632 -3600 # Node ID b55492dbe54cf66858a2a1bf079d1e655e2f5645 # Parent 1807b6c41b33f9ef06a997b34e390b3b2bde0e64 V1.51.19 : correction diff -r 1807b6c41b33 -r b55492dbe54c src/ldt/ldt/__init__.py --- a/src/ldt/ldt/__init__.py Thu Jan 02 12:06:50 2014 +0100 +++ b/src/ldt/ldt/__init__.py Thu Jan 02 13:27:12 2014 +0100 @@ -1,6 +1,6 @@ __all__ = ["VERSION", "get_version", "__version__"] -VERSION = (1, 51, 18, "final", 0) +VERSION = (1, 51, 19, "final", 0) def get_version(): diff -r 1807b6c41b33 -r b55492dbe54c src/ldt/ldt/static/ldt/metadataplayer/AnnotationsList.js --- a/src/ldt/ldt/static/ldt/metadataplayer/AnnotationsList.js Thu Jan 02 12:06:50 2014 +0100 +++ b/src/ldt/ldt/static/ldt/metadataplayer/AnnotationsList.js Thu Jan 02 13:27:12 2014 +0100 @@ -191,7 +191,11 @@ _title = _annotation.creator; } if (_annotation.title) { - _title = _title + ( (_title=="") ? "" : " : ") + _annotation.title; + var tempTitle = _annotation.title; + if( tempTitle.substr(0, _title.length + 1) == (_title + ":") ){ + _title = ""; + } + _title = _title + ( (_title=="") ? "" : ": ") + _annotation.title; } var _bgcolor; IriSP._(_this.polemics).each(function(_polemic) {