Page 1 of 1

JS bug?

PostPosted: Tue Sep 28, 2010 1:35 am
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

Re: JS bug?

PostPosted: Tue Sep 28, 2010 7:57 am
by tails
Hi, thank you for the report. It's fixed. Please try if it works.

Re: JS bug?

PostPosted: Tue Sep 28, 2010 1:21 pm
by Zdzieli
Works great. Good job!

Lukasz