summaryrefslogtreecommitdiff
path: root/misc/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ajax.js')
-rw-r--r--misc/ajax.js2
1 files changed, 1 insertions, 1 deletions
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']);
}
};