I'm having trouble debugging an onAfterAction
that I don't want to run. It happens when I click a certain div. Router.go
is not being called (verified with debugger;
in the iron router code), and the URL is not changing. I can't find anything in my click handlers that would cause a route change. The onAfterAction
happens from a deps invalidation:
Router.configure.onAfterAction (routes.coffee:5)
RouteController.runHooks (route_controller.js:155)
(anonymous function) (route_controller.js:291)
RouteController.runHooks (route_controller.js:158)
(anonymous function) (route_controller.js:283)
Deps.Computation._compute (deps.js:196)
Deps.Computation._recompute (deps.js:210)
Deps.flush (deps.js:304)