GSA / mygov-bar

[DEPRECATED] The MyGov Discovery Bar allows visitors to government websites to find relevant content across federal agencies.
http://gsa-ocsit.github.com/mygov-bar/
5 stars 7 forks source link

Clicking a tab causes a navigation event #1

Closed benbalter closed 11 years ago

benbalter commented 11 years ago

This clutters the browser history.

Solution:

Replace true with trigger: true, replace: true on https://github.com/GSA-OCSIT/mygov-bar/blob/gh-pages/_cs/app/router.coffee#L64

see: http://backbonejs.org/#Router-navigate

chrisfrommann commented 11 years ago

Thanks again for your help, Ben. This is now resolved on the phone-home branch.

In the process of testing this, I noticed that after going to the previous page, clicking forward will incorrectly render the bar. I have some ideas as to why this might be and am adding a Pivotal story for this.