Use update().
authorJan Schneider <jan@horde.org>
Mon, 27 Apr 2009 15:33:39 +0000 (17:33 +0200)
committerJan Schneider <jan@horde.org>
Mon, 27 Apr 2009 15:33:39 +0000 (17:33 +0200)
kronolith/js/src/kronolith.js

index 56511a5..75b8860 100644 (file)
@@ -776,7 +776,7 @@ KronolithCore = {
                                 minFrom = Math.round(offset % this[0][storage].height / step * 10).toPaddedString(2),
                                 hourTo = (offset + height + this[0][storage].spacing) / this[0][storage].height | 0,
                                 minTo = Math.round((offset + height + this[0][storage].spacing) % this[0][storage].height / step * 10).toPaddedString(2)
-                            innerDiv.setText('(' + hourFrom + ':' + minFrom + '-' + hourTo + ':' + minTo + ') ' + event.value.t);
+                            innerDiv.update('(' + hourFrom + ':' + minFrom + '-' + hourTo + ':' + minTo + ') ' + event.value.t);
                         }.bind([this, div])
                     };