sdenton4 / pipic

Tools for Raspberry Pi photography
GNU General Public License v2.0
62 stars 19 forks source link

Clicking on the pilapse word seems to create a second copy of the top navbar under the first; #3

Closed mardlin closed 10 years ago

mardlin commented 10 years ago

Make sure to pull the latest updates to the master.

A few things about this bug:

So the '#' is tripping the index view (you can also see this because ../#djpilapp/newProject doesn't have the baby jackalope.

The '#' is pretty much only added when clicking on the project selectors in the dropdown..

event.preventDefault() 

can be used to avoid this on any links, which I've used on the newproject and pilapse links, but I'm leaving the other links alone, and they can be dealt with when we get to them.

mardlin commented 10 years ago

I figured that out while writing it up. So I'm closing it now.

sdenton4 commented 10 years ago

ok, cool; if this is a recurring problem we could potentially set up the regular expressions in the urls.py files to chop off trailing '#' characters.