Author: mrdon Date: Sun Dec 31 11:26:44 2006 New Revision: 491470 URL: http://svn.apache.org/viewvc?view=rev&rev=491470 Log: Applied against the wrong ComboBox.js WW-1583
Modified: struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js Modified: struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js?view=diff&rev=491470&r1=491469&r2=491470 ============================================================================== --- struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js (original) +++ struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/ComboBox.js Sun Dec 31 11:26:44 2006 @@ -144,10 +144,6 @@ searchStr = searchStr.toLowerCase(); } for(var x=0; x<this.data.length; x++){ - if(!this.data[x]) { - //needed for IE - continue; - } if((!ignoreLimit)&&(ret.length >= this.searchLimit)){ break; } Modified: struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js?view=diff&rev=491470&r1=491469&r2=491470 ============================================================================== --- struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js (original) +++ struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js Sun Dec 31 11:26:44 2006 @@ -96,6 +96,10 @@ searchStr = searchStr.toLowerCase(); } for(var x=0; x<this.data.length; x++){ + if(!this.data[x]) { + //needed for IE + continue; + } if((!ignoreLimit)&&(ret.length >= this.searchLimit)){ break; }