Plugins not executed on $.nette.ajax({ url: … );

2 years ago

dkorpar
Member | 55
+
0
-

When redirecting user with $.nette.ajax I saw that address bar doesn't change, after some investigation I realized plugins are not executed when calling directly $.nette.ajax
Or am I doing something wrong? how to redirect user using nette.ajax?

I also posted this on:
https://github.com/…s/issues/131
but no response in 4 days, hope someone will resolve it here…

to clarify it even more everything works good when user clicks on link or submit ajax form, url is correct, all plugins are executed, but when I call the code to redirect user automatically with javascript then plugins are not executed, so history is also not executed, and url remains the same in address bar which can then potentially lead to other problems