Prinz
Senior Member
Germany
1522 Posts |
Posted - 16 May 2011 : 12:34:41
|
The program replaces _ARTIST_FOLLOWEDBY_ with a javascript function, but if the Name has a special char this function will throw an error.
Example Guns N' Roses would be added as:
<a href="" onClick="window.external.COLLECTION_ARTIST('482','Guns N' Roses');return false;">
But that can't work because of the ' in the Name. That Char has to be escaped like this:
<a href="" onClick="window.external.COLLECTION_ARTIST('482','Guns N\' Roses');return false;"> |
|