From cf11af686500e727838166e758c211dafd526208 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 13 Oct 2010 13:46:50 +0000 Subject: - Patch #939860 by rfay, yched: on 2nd ajax call, behaviors are called with empty settings. --- misc/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/ajax.js b/misc/ajax.js index 0dfa42a50..773986ae3 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -298,7 +298,7 @@ Drupal.ajax.prototype.success = function (response, status) { // Remove any response-specific settings so they don't get used on the next // call by mistake. - this.settings = {}; + this.settings = null; }; /** -- cgit v1.2.3