Created
April 9, 2015 07:39
-
-
Save keeprock/f8568331d1f16334c9e0 to your computer and use it in GitHub Desktop.
Successful Ajax XHR
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
var success = Drupal.ajax.prototype.success; | |
Drupal.ajax.prototype.success = function (xmlhttprequest, options) { | |
success.apply(this, arguments); | |
// do stuff here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment