Error on page

alexhttp - March 4, 2009 - 22:27
Project:NoProb
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Eric3
Status:needs review
Description

Line: 7
Char: 13
Error: Object required
Code: 0
URL: http://www.irbisplace.ru

#1

alexhttp - March 4, 2009 - 23:09

I get it in IExplorer
FireFox doesnt have any problem

#2

Eric3 - March 5, 2009 - 02:31
Category:support request» bug report
Assigned to:Anonymous» Eric3

Turns out this actually affects all browsers & platforms; only IE makes it obvious. It only happens if you don't have any Primary Links enabled, as is the case with your site. The problem lies within the code in script.js, which is only needed to make drop-down menus work in IE 6. If you won't be using Primary Links or drop-down menus, you can remove the script.js file to fix the error.

#3

alexhttp - March 5, 2009 - 22:44

I added Primary links... no change.. I have the same error

#4

Eric3 - March 5, 2009 - 22:49
Status:active» needs review

Attached is an improved script.js (be sure to remove the .txt from the filename) which will run only in IE 6 and below, and tests for the presence of primary links, fixing the error you observed.

AttachmentSize
script.js.txt 1.53 KB

#5

alexhttp - March 6, 2009 - 00:41

I dont have error after upload new script. Thanks!

#6

alexhttp - March 6, 2009 - 07:23

... and I dont use IE 6 and below. I have IE 7 (Im system administrator and I can use different OS and browsers).

 
 

Drupal is a registered trademark of Dries Buytaert.