#932848 by merlinofchaos: Fix ajax setClick command once and for all. :P
parent
77ce3c6dd8
commit
c01031844b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue