Author: sevein
Date: Mon Oct 25 05:31:59 2010
New Revision: 8457

Log:
Pass hiddenInput to XHR callback.

Modified:
   trunk/js/dialog.js

Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js  Mon Oct 25 02:54:44 2010        (r8456)
+++ trunk/js/dialog.js  Mon Oct 25 05:31:59 2010        (r8457)
@@ -310,9 +310,10 @@
 
                   // Set visible input field of yui-autocomplete
                   dataSource.sendRequest(null, {
+                    scope: $(hiddenInput),
                     success: function (request, response)
                       {
-                        $(hiddenInput)
+                        this
                           .next('.form-autocomplete')
                           .val(response.results[0]);
                       } });

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to