Bugzilla – Bug 6618
Script error in default skin - titles with apostrophe
Last modified: 2008-01-15 07:56:17 UTC
With albums containing apostrophe (') in their name, the new default skin's Favorite handling causes a script error. For example, <a href="javascript:void(0);" onClick="Utils.toggleFavorite(this, 'db%3Aalbum.titlesearch%3DELLA%2520AT%2520DUKE%2520S%2520PLACE', 'Ella%20at%20Duke's%20Place')" ><img src="/html/images/b_favorite.gif" class="cmdLinkIcon" width="17" height="17" alt="Add to Favorites" title="Add to Favorites"/></a> The apostrophe in "Ella at Duke's Place" is not escaped. This causes "Expected ')'" script error as it parses the rest of the line.
need more details here. what's the url of the page? this same you posted cannot be found in any of the current source code.
Sorry, this is any of the ambum-list views (browsedb.html) in the default skin. The source seems to be the "favoritescontrol" block of HTML/EN/cmdwrappers.
(and this is SqueezeCenter_trunk_v2008-01-14 nightly, Windows. In IE7 with "disable script debugging" turned off)
change 16308 - successfully tested with artist "Fool's Garden" and album "Sgt.Pepper's Lonely Hearts Club Band" Please re-open if this doesn't fix the issue for you. Thanks!