Author: jablko
Date: Thu Oct 21 21:48:10 2010
New Revision: 8368

Log:
Use :first selector

Modified:
   trunk/js/dialog.js

Modified: trunk/js/dialog.js
==============================================================================
--- trunk/js/dialog.js  Thu Oct 21 21:47:33 2010        (r8367)
+++ trunk/js/dialog.js  Thu Oct 21 21:48:10 2010        (r8368)
@@ -25,7 +25,7 @@
          */
 
         // Find field prefix (if there is one)
-        var matches = $(':input[name]', 
thisDialog.table).eq(0).attr('name').match(this.fieldNameFilter);
+        var matches = $(':input[name]:first', 
thisDialog.table).attr('name').match(this.fieldNameFilter);
         if (null != matches)
         {
           this.fieldPrefix = matches[1];

-- 
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