mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user