diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-03-10 15:14:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-03-10 15:14:38 +0000 |
commit | c761fb01f4d65574e9644fc8815b5dbd2a4c5c5c (patch) | |
tree | 39dc82118c2fe06b5e77c9f0cca2085e1e18808a /misc/ajax.js | |
parent | 879eb7ef3c37bc06bc8dc3e78180bbaedb0a3063 (diff) | |
download | brdo-c761fb01f4d65574e9644fc8815b5dbd2a4c5c5c.tar.gz brdo-c761fb01f4d65574e9644fc8815b5dbd2a4c5c5c.tar.bz2 |
- Patch #673884 by casey, mfer: optimize Drupal.parseJSON.
Diffstat (limited to 'misc/ajax.js')
-rw-r--r-- | misc/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ajax.js b/misc/ajax.js index 785052f7b..3d0357cbc 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -132,7 +132,7 @@ Drupal.ajax = function (base, element, element_settings) { // Sanity check for browser support (object expected). // When using iFrame uploads, responses must be returned as a string. if (typeof response == 'string') { - response = Drupal.parseJson(response); + response = $.parseJson(response); } return ajax.success(response, status); }, |