From c01031844b139b87fe2819eec8145b6187e71fc8 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 6 Oct 2010 18:27:09 +0000 Subject: #932848 by merlinofchaos: Fix ajax setClick command once and for all. :P --- 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 25e4b0587..0dfa42a50 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -170,7 +170,7 @@ Drupal.ajax = function (base, element, element_settings) { // ajaxSubmit that tells the system which element got clicked to // trigger the submit. Without it there would be no 'op' or // equivalent. - ajax.form.clk = this.element; + this.form.clk = this; } ajax.form.ajaxSubmit(ajax.options); -- cgit v1.2.3