Index: misc/ajax.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/ajax.js,v
retrieving revision 1.20
diff -u -p -r1.20 ajax.js
--- misc/ajax.js	4 Oct 2010 17:46:01 -0000	1.20
+++ misc/ajax.js	6 Oct 2010 01:19:48 -0000
@@ -170,7 +170,7 @@ Drupal.ajax = function (base, element, e
           // 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(options);
