BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Music Manager
 Bugs Report
 Missing escape char
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic  Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Prinz
Senior Member

Germany
1522 Posts

Posted - 16 May 2011 :  12:34:41  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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;">

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 18 May 2011 :  09:23:35  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you Prinz.

I will remove this special char before put in the string.

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page
  Previous Topic Topic  Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.14 sec. Powered By: Snitz Forums 2000 Version 3.4.07