← Back to team overview

launchpad-dev team mailing list archive

AJAX history breakage

 

Hi Maris,

I just had the following conversation (edited for clarity) with BjornT
and intellectronica:

  <allenap> BjornT: I made a dogs dinner of that. Changed the status
    inline, clicked on the milestone just to check it out, went back
    one page, changed the milestone and the status was reset to
    Triaged at the same time. Changes to the page made by Javascript
    do not get remembered in history, or they didn't here.

  <allenap> BjornT: I wonder if there's a way to invalidate a page
    from Javascript, forcing a browser refetch when moving in the
    history.

  <BjornT> allenap: i don't think so. that's one thing that generally
    sucks with ajax sites; history doesn't work well

  <intellectronica> allenap: there are tricks to control the history
    when using ajax, but we don't use anything yet (it needs to be
    consistent for the application as a whole)

Have you given this any thought for Launchpad? What are our options?

Thanks, Gavin.



Follow ups