--- htmlarea.php (revision 276)
+++ htmlarea.php (working copy)
@@ -1545,7 +1545,7 @@
var anchors = new Array();
for(var i = 0; i < allinks.length; i++) {
var attrname = allinks[i].getAttribute('name');
- if((HTMLArea.is_ie ? attrname.length > 0 : attrname != null)) {
+ if((HTMLArea.is_ie_lt8 ? attrname.length > 0 : attrname != null)) {
anchors[i] = allinks[i].getAttribute('name');
}
}
@@ -2371,6 +2371,7 @@
HTMLArea.is_win_ie = (HTMLArea.is_ie && !HTMLArea.is_mac);
HTMLArea.is_gecko = (navigator.product == "Gecko");
HTMLArea.is_safari = (HTMLArea.agt.indexOf("safari") != -1);
+HTMLArea.is_ie_lt8 = (HTMLArea.is_ie && (HTMLArea.agt.indexOf("msie 8") == -1));
// variable used to pass the object to the popup editor window.
HTMLArea._object = null;