Noticed some more problems in older (albeit unsupported) browsers

This commit is contained in:
Jeff 2016-10-26 13:25:02 -07:00 • committed by Jeff Parsons
commit 8e1dd595ec
3 changed files with 21 additions and 2 deletions

View file

@ -470,7 +470,14 @@ FDC.prototype.setBinding = function(sHTMLType, sBinding, control, sValue)
}
});
for (i = 0; i < aOptions.length; i++) {
control.options[i] = aOptions[i];
try {
/*
* TODO: Determine why this line blows up in IE8; are the properties of an options object not settable in IE8?
*/
control.options[i] = aOptions[i];
} catch(e) {
break;
}
}
}