Commit 5945c306 authored by David_Rothstein's avatar David_Rothstein

Issue #2245331 by bendikrb: Use of reserved word in ajax.js breaks IE8.

parent 5a84df03
Drupal 7.28, xxxx-xx-xx (development version)
-----------------------
- Fixed a regression introduced in Drupal 7.27 that caused JavaScript to break
on older browsers (such as Internet Explorer 8 and earlier) when Ajax was
used.
- Increased the timeout used by the Update Manager module when it fetches data
from drupal.org (from 5 seconds to 30 seconds), to work around a problem
which causes incomplete information about security updates to be presented to
......
......@@ -622,7 +622,7 @@ Drupal.ajax.prototype.commands = {
* Command to update a form's build ID.
*/
updateBuildId: function(ajax, response, status) {
$('input[name="form_build_id"][value="' + response.old + '"]').val(response.new);
$('input[name="form_build_id"][value="' + response['old'] + '"]').val(response['new']);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment