diff --git a/misc/ajax.js b/misc/ajax.js index 25e4b0587d1e34427716cc71fef7893ea813c7de..0dfa42a507abc03730a6df36f3a7bab1a77b3104 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);