Author: sevein
Date: Thu Jan 27 14:52:15 2011
New Revision: 8941
Log:
Update some selectors which stopped working as of jQuery 1.4.4 upgrade. Fixes
issue 1926.
Modified:
trunk/js/autocomplete.js
Modified: trunk/js/autocomplete.js
==============================================================================
--- trunk/js/autocomplete.js Thu Jan 27 00:07:24 2011 (r8940)
+++ trunk/js/autocomplete.js Thu Jan 27 14:52:15 2011 (r8941)
@@ -88,7 +88,7 @@
// A following sibling with class .list and a value specifies
// that autocomplete items can be requested dynamically from
// the specified URI
- var value = $('~ .list', this).val();
+ var value = $(this).siblings('.list').val(); // $('~ .list',
this) stopped working in jQuery 1.4.4
if (value)
{
// Split into URI and selector like jQuery load()
@@ -325,7 +325,7 @@
// responses, and can't figure out how to get access to the
// URI of the final response,
// http://www.w3.org/TR/XMLHttpRequest/#notcovered
- var value = $('~ .add', this).val();
+ var value = $(this).siblings('.add').val(); // $('~ .add',
this) stopped working in jQuery 1.4.4
if (value)
{
// Split into URI and selector like jQuery load()
--
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.