diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-16 19:08:08 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-16 19:08:08 +0000 |
commit | 83cd78c95f7089e0e947ca75f991e96267e15577 (patch) | |
tree | 2e8c9b81b7742df6dbe83116f2354e428affe280 /misc/ajax.js | |
parent | a082f0c30e0d8c818032b364bc7b13f5c3a0c2cb (diff) | |
download | brdo-83cd78c95f7089e0e947ca75f991e96267e15577.tar.gz brdo-83cd78c95f7089e0e947ca75f991e96267e15577.tar.bz2 |
- Patch #800186 by dereine: use parseJSON instead of 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 339d167eb..a9588261b 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 = $.parseJson(response); + response = $.parseJSON(response); } return ajax.success(response, status); }, |