Added better handling of json arrays for IE

WW-1583


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald J. Brown
2006-12-31 06:00:44 +00:00
parent 598610ac61
commit 7767a80a3b
@@ -144,6 +144,10 @@ dojo.widget.ComboBoxDataProvider = function(/*Array*/ dataPairs, /*Number*/ limi
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;
}