When I view a Timeline in Drupal, it displays OK, but then the page redirects to /events/__history__.html?0

This is using a local copy of simile-timeline 2.3, obtained by svn.

This problem with Timeline is mentioned here: http://code.google.com/p/simile-widgets/issues/detail?id=61

I avoided it by turning off History in libraries/simile-timeline/timeline_ajax/scripts/history.js by setting "enabled:" to false. Perhaps this could be added to the installation documentation?

Comments

xamanu’s picture

Assigned: Unassigned » xamanu
Status: Active » Needs work

Yes, I saw this as well. Thanks for the link! I'll put it into the INSTALL.TXT

xamanu’s picture

Version: 6.x-2.0-beta1 » 6.x-2.x-dev
Status: Needs work » Fixed

I've added the information to INSTALL.TXT and providing now a new source to download the libraries prepackaged and patched. Commit: #253588.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gaele’s picture

Component: Documentation » Code
Category: feature » bug
Status: Closed (fixed) » Active

See http://code.google.com/p/simile-widgets/issues/detail?id=61#c14

No need to hack in the js file.
Just add "SimileAjax.History.enabled = false;" inside a script tag after loading
timeline-api.js and before creating the timeline.

Works for me.

Perhaps you could add this to the module?

xamanu’s picture

Status: Active » Needs work

Thanks for the input. I'll test it.

arnold_mad’s picture

Where would be a good place to add SimileAjax.History.enabled = false; in 3.x-dev ?

xamanu’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev
Status: Needs work » Fixed

Within the timeline.js file. Fixed with the newest 6.x-3.x-dev version.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

btopro’s picture

StatusFileSize
new438 bytes

patch against the 2.x branch for reference in distros

btopro’s picture

StatusFileSize
new443 bytes

dropped tabs