PonteIneptique / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. Timeline.DefaultEventSource.loadJSON() incorrectly passes event.isDuration to Timeline.DefaultEventSource.Event #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Timeline.DefaultEventSource.Event's constructor expects a boolean whether
the event is an instant or not. However, loadJSON() passes event.isDuration
as is, which results in a false event display of course.

[Submitted by klaus triendl on simile.mit.edu] 

Ian Caven - 02/May/07 03:33 PM
I fixed this by changing line 92 in sources.js from

event.isDuration || false,

to

event.isDuration != true,

Original issue reported on code.google.com by GabrielR...@googlemail.com on 6 Apr 2009 at 2:12