tmeasday / meteor-router

MIT License
366 stars 76 forks source link

Page refresh after routing #129

Open laddi opened 11 years ago

laddi commented 11 years ago

I've been using the router plugin for a while now and all of a sudden it's behavior has changed, i.e. instead of just routing now it's routing and then doing a page refresh. I'm not sure what has triggered this. I haven't updated Meteor (on 0.6.4) and have been running the latest versions of meteor-router. Any ideas?

laddi commented 11 years ago

Hmmmm, actually this seems more like a general error. All of a sudden event.preventDefault() is being ignored and I have to add return false; to every single link that can potentially change the browser URL...

tmeasday commented 11 years ago

Did you do an mrt update? Or something else that may have updated your router version? Maybe check your git logs for changes in smart.lock.

There haven't been any significant changes to the router in some time so it is doubtful.

El 03/09/2013, a las 9:00 PM, Þórhallur Helgason notifications@github.com escribió:

Hmmmm, actually this seems more like a general error. All of a sudden event.preventDefault() is being ignored and I have to add return false; to every single link that can potentially change the browser URL...

— Reply to this email directly or view it on GitHub.

laddi commented 11 years ago

Alas, smart.lock is excluded from our git repo. It could be an mrt update, I'll investigate further...

tmeasday commented 11 years ago

You should definitely include smart.lock in your git repo or you'll run into hard to diagnose bugs where different team members have different versions of packages.

On Tuesday, 3 September 2013 at 10:53 PM, Þórhallur Helgason wrote:

Alas, smart.lock is excluded from our git repo. It could be an mrt update, I'll investigate further...

— Reply to this email directly or view it on GitHub (https://github.com/tmeasday/meteor-router/issues/129#issuecomment-23710000).