JS bug?

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

JS bug?

Post by Zdzieli »

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
tails
Posts: 90
Joined: Thu Oct 23, 2008 12:10 pm

Re: JS bug?

Post by tails »

Hi, thank you for the report. It's fixed. Please try if it works.
Zdzieli
Posts: 2
Joined: Tue Sep 28, 2010 1:27 am

Re: JS bug?

Post by Zdzieli »

Works great. Good job!

Lukasz
Post Reply