Fixed issue with SeaMonkey (one of the few browsers that didn't support innerText on DOM elements)
This commit is contained in:
parent
b2408b792d
commit
ff876da5fc
7 changed files with 70 additions and 69 deletions
|
|
@ -1483,8 +1483,9 @@ FDC.prototype.findDiskette = function(sPath)
|
|||
var controlDisks = this.bindings["listDisks"];
|
||||
if (controlDisks && controlDisks.options) {
|
||||
for (var i = 0; i < controlDisks.options.length; i++) {
|
||||
if (controlDisks.options[i].value == sPath) {
|
||||
return controlDisks.options[i].innerText;
|
||||
var control = controlDisks.options[i];
|
||||
if (control.value == sPath) {
|
||||
return control.textContent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue