diff options
-rw-r--r-- | CHANGELOG.txt | 3 | ||||
-rw-r--r-- | misc/ajax.js | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 84e2f4806..569b7e5c1 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,9 @@ 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 diff --git a/misc/ajax.js b/misc/ajax.js index 63dd65fdd..29483b498 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -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']); } }; |