Created
February 1, 2011 04:27
-
-
Save azcoov/805410 to your computer and use it in GitHub Desktop.
calling the toaster
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
$("#viewerror").ajaxError(function (e, xhr, ajaxOptions, thrownError) { | |
toast(xhr.responseText); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment