Thanks for reporting this. There was a little code missing for the most recent version; you could re-download the package from your area (I've updated it), or just fix the
addon_favorites.php, looking up for this piece of code (just look up for
favsAdded ):
$errTxt=<<<out
parent.document.getElementById('favaddlink').innerHTML='<img src="{$main_url}/img/icon_fav.gif" alt="{$l_favsAdded}" title="{$l_favsAdded}" />';
alert('{$favAddReport}');
out;
produceJsError('', $errTxt, FALSE);
exit;
-- this code should be surrounded by the following:
if(!defined('INCLUSIVE_FAV')) {
$errTxt=<<<out
parent.document.getElementById('favaddlink').innerHTML='<img src="{$main_url}/img/icon_fav.gif" alt="{$l_favsAdded}" title="{$l_favsAdded}" />';
alert('{$favAddReport}');
out;
produceJsError('', $errTxt, FALSE);
exit;
}
Let me know if it helped; or if you still experience the error.