summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2010-10-06 18:27:09 (GMT)
committerAngie Byron2010-10-06 18:27:09 (GMT)
commitc01031844b139b87fe2819eec8145b6187e71fc8 (patch)
treedce0479d717c3dfa18e4dd62d11dd1db80badf2f
parent77ce3c6dd8caa75f76b15790d9e3a1cf5533dfa5 (diff)
#932848 by merlinofchaos: Fix ajax setClick command once and for all. :P
-rw-r--r--misc/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ajax.js b/misc/ajax.js
index 25e4b05..0dfa42a 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);