src/widgets/Segments.js
changeset 1026 420608a77566
parent 1013 392ddcd212d7
child 1033 c20df1c080e6
--- a/src/widgets/Segments.js	Thu Feb 06 12:29:31 2014 +0100
+++ b/src/widgets/Segments.js	Thu Feb 06 14:43:30 2014 +0100
@@ -77,7 +77,7 @@
             color : color,
             medcolor: medcolor,
             lowcolor: lowcolor,
-            text: _fulltext.replace(/(\n|\r|\r\n)/mg,' ').replace(/(^.{120,140})[\s].+$/m,'$1…'),
+            text: (_annotation.creator ? (_annotation.creator + " : ") : "" ) + _fulltext.replace(/(\n|\r|\r\n)/mg,' ').replace(/(^.{120,140})[\s].+$/m,'$1…'),
             left : _left,
             width : _width,
             top: _top,