Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
83cd78c9
Commit
83cd78c9
authored
May 16, 2010
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#800186
by dereine: use parseJSON instead of parseJson.
parent
a082f0c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
misc/ajax.js
misc/ajax.js
+1
-1
No files found.
misc/ajax.js
View file @
83cd78c9
...
...
@@ -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
=
$
.
parseJ
son
(
response
);
response
=
$
.
parseJ
SON
(
response
);
}
return
ajax
.
success
(
response
,
status
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment