zanematthew/zm-ajax-login-register

Disable all global ajax callbacks

Closed this issue · 0 comments

Lets set the option in the $.ajax() for global callbacks to false. This will prevent unwanted loading of global ajax callbacks that are set by other developers.

This was mentioned in the following topic.

Simply adding: global: false, as outlined in the jQuery ajax docs is sufficient.