Commit c0103184 authored by webchick's avatar webchick

#932848 by merlinofchaos: Fix ajax setClick command once and for all. :P

parent 77ce3c6d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment