JS bug?

JS bug?

Postby Zdzieli on Tue Sep 28, 2010 1:35 am

Hi,

There might be an error in one of JS scripts in JosekiPedia. My firefox console gets the following error

Error: unterminated string literal
Source file: http://www.josekipedia.com/lang/pl/ui.js
Line: 18, Column: 16
Source:
'add pro desc': 'Wybierz profesjonalistę poniżej (nazwisko samo się uzupełnia). Jeśli potrzebujesz dodać nowego gracza do bazy, zrób to <a href=\"/find/player.php\" target=\"_new\">wcześniej</a>.

There's a newline and and he can't fine single quote character in a literal. As a result the whole thing is being stopped and I can't see the applet with editor on a main page. After I changes language to english it works well.

Hope this helps,
Lukasz
Zdzieli
 
Posts: 2
Joined: Tue Sep 28, 2010 1:27 am

Re: JS bug?

Postby tails on Tue Sep 28, 2010 7:57 am

Hi, thank you for the report. It's fixed. Please try if it works.
tails
 
Posts: 90
Joined: Thu Oct 23, 2008 12:10 pm

Re: JS bug?

Postby Zdzieli on Tue Sep 28, 2010 1:21 pm

Works great. Good job!

Lukasz
Zdzieli
 
Posts: 2
Joined: Tue Sep 28, 2010 1:27 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest