Created
December 8, 2014 08:43
-
-
Save revathskumar/2f5bd0e8aaa069fdf126 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code just is not yet tested. | |
$.on("ajax:beforeSend", function(e, xhr, settings){ | |
append = if settings.url.indexOf('?') == -1 then "?" else "&" | |
settings.url += append + "xhr=true" | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment