Pages: [1]
Author Topic: [SOLVED] Bug: Javascript error after Rating a game  (Read 214 times)
Customers
Full Member
*

Karma: 0
Posts: 67


Email
on: Jan 18, 10, 04:58 PM

In IE 8, after a user rates a game, the browser reports the following error (but nothing bad happens in the site). *Note it doesnt matter what game:

Message: Syntax error
Line: 1
Char: 6
Code: 0
URI: http://www.playsomegames.com/play/Bumper-Ball/

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.3; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Mon, 18 Jan 2010 22:52:25 UTC
« Last Edit: Jan 20, 10, 09:50 PM by Rabies » Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Jan 19, 10, 02:25 AM

If you do want to get rid of this "error", replace all "void()" by "void(0)" in the "page_game.html" template.
Logged
Customers
Full Member
*

Karma: 0
Posts: 67


Email
Reply #2 on: Jan 19, 10, 02:27 AM

It worked! Thank you!

(love your script)
Logged
Pages: [1]
 
Jump to: