Ticket #608 (closed defect: invalid)
I am getting a javascript error when using Safari v2.02 build 416.12 on Mac OS X.4.3
| Reported by: | rianhall1@… | Owned by: | gogo |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I am experiment with Drupal version 4.6 and have added the approp. javascript code in my templates header. However, I am getting this error whenever I load my pages
Mozilla < 1.3 Beta is not supported! I'll try, though, but it might not work.
I did a search on the error mesage and found this code in the htmlarea.js file:
// FIXME!!! this should return false for IE < 5.5 HTMLArea.checkSupportedBrowser = function() {
if (HTMLArea.is_gecko) {
if (navigator.productSub < 20021201) {
alert("You need at least Mozilla-1.3 Alpha.\n" +
"Sorry, your Gecko is not supported.");
return false;
} if (navigator.productSub < 20030210) {
alert("Mozilla < 1.3 Beta is not supported!\n" +
"I'll try, though, but it might not work.");
}
}
return HTMLArea.is_gecko
HTMLArea.is_ie; };
It looks like the htmlarea.js is thinking I am running a gecko based browser when it's not. I believe this code needs to be updated to reflect khtml based browsers as well as gecko.
Change History
Note: See TracTickets for help on using tickets.Download in other formats:
