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