summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-06 18:27:09 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-06 18:27:09 +0000
commitc01031844b139b87fe2819eec8145b6187e71fc8 (patch)
treedce0479d717c3dfa18e4dd62d11dd1db80badf2f /misc
parent77ce3c6dd8caa75f76b15790d9e3a1cf5533dfa5 (diff)
downloadbrdo-c01031844b139b87fe2819eec8145b6187e71fc8.tar.gz
brdo-c01031844b139b87fe2819eec8145b6187e71fc8.tar.bz2
#932848 by merlinofchaos: Fix ajax setClick command once and for all. :P
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);