App.views.main.router.navigate (ajax before repeating itself)

Can someone help me?
the problem is on the purchase page I use the click function and run ajax, when finished I use app.views.main.router.navigate (’/’, {reloadAll: true, ignoreCache: true, browserHistory: false}); to return to the start page, but when I open the purchase page again and perform the ajax function, the previous ajax repeats and the new ajax works too. so every time I finish doing ajax it always repeats the previous one.

thank you

seems like you have issue with some events listeners assigned

my fault
I use $ (document) .on (‘click’, ‘#btnBayar’, function (e), but when I replace this the problem is resolved $ (’# btnBayar’). on (‘click’, function (e)