vojtech-dobes / nette.ajax.js

Flexible AJAX for Nette Framework. Supports snippets, redirects etc.
https://componette.org/vojtech-dobes/nette.ajax.js/
MIT License
149 stars 85 forks source link

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

Closed dakorpar closed 4 years ago

dakorpar commented 8 years ago

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?

vojtech-dobes commented 7 years ago

Could you please clarify more what you are trying to achieve? I am not sure if I understand.

dakorpar commented 7 years ago

So if I execute this particular code:

$.nette.ajax({ url: 'someUrl' });

I've noticed that address bar is not changing to 'someUrl', after more investigation I realized none of nette.ajax plugins are executed if I call $.nette.ajax({ url: 'someUrl' }); directly in code, and not just setting attribute class to ajax

@vojtech-dobes

dakorpar commented 4 years ago

I'm closing since I'm no longer using this extension and it passed 3,5 years since last activity