hasadna/Open-Knesset — pull request #46 by tomerha (2012-12-29 16:43:21+00:00)
Title: fix#: 3625 . after following something and going to a different page, going back using the 'back' button would show a non-update version of is-following

...ing back using the 'back' button would show a non-update version of is-following

the is-following variable was sent statically when generating the template.
chrome would clear all hidden forms and re-execute all javascript when going back to the page using the back button.

therefore -- i made an ajax hander that would return whether or not the logged on user is following the requested term, and used it in the page javascript.