remove my work around for bug #11010, since it is no longer needed. thanks to mdubinko@yahoo.com for keeping on top of that bug report.

git-svn-id: svn://10.0.0.236/trunk@46218 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com 1999-09-07 20:33:11 +00:00
parent 18b7766556
commit 68d731f832

View File

@ -560,15 +560,6 @@ function RemoveLastAttachment()
i = selectNode.options.length;
if (i > 0) {
selectNode.remove(i - 1);
/* bug in the DOM? when I remove the last element, the text
remains. so for now, when I remove the last element, I add
back a blank element, then remove it, so that it looks
correct. bug logged #11010 */
if (i == 1) {
var opt = new Option(" ", " ");
selectNode.add(opt, null);
selectNode.remove(0);
}
}
}