PDA

View Full Version : Annoying Javascript Error


Wayne Luke
10 Dec 2001, 03:52
Everytime, I click in or give the message box focus, I get a Javascript error.

The error in particular is "Object Required". However since I have Visual Studio installed, I haven't gone through the rigmarole of launching MS-Interdev to try and debug it.

Most likely it is related to this code:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Because I don't use the vBCode buttons and the javascript isn't loaded.

Also to be correct that should be:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Since it is Javascript and Javascript statements are supposed to be deliminated by a semi-colon for proper syntax.

Chen
10 Dec 2001, 12:21
Thanks, should be fixed now.

Wayne Luke
14 Dec 2001, 14:26
Same thing happens in the editpost template. You should also check Private Messages, New Event and the Signature Editor as well to make sure it works there. Haven't tried those sections yet.

plcguru
23 Jun 2002, 05:28
Originally posted by FireFly
Thanks, should be fixed now.

Firefly,
Please tell me how you fixed it. I know it's caused by
'New vbcode.js - vBcode and smilie user interface improvement' hack.

I asked the question there before this.
http://www.vbulletin.org/forum/showthread.php?postid=264746#post264746

Thanks!