Skip to main content

Bug Tracker

Side navigation

Ticket #1760: 1760.diff
File 1760.diff, 0.3 KB (added by Sam, October 01, 2007 03:02PM UTC)
Index: src/core.js
===================================================================
--- src/core.js	(revision 3499)
+++ src/core.js	(working copy)
@@ -402,7 +402,7 @@
 							jQuery.inArray( this.text, values ) >= 0);
 					});
 
-					if ( !tmp.length )
+					if ( !values.length )
 						this.selectedIndex = -1;
 
 				} else

Download in other formats:

Original Format