Changed the artists page to use the /artwork/artist|album/id path for retrieving artwork instead of doing an ajax call

This commit is contained in:
Patrick Speiser
2012-09-30 19:36:54 +02:00
parent ab523fd009
commit acfc470681
3 changed files with 42 additions and 14 deletions

View File

@@ -46,7 +46,7 @@
"aTargets": [ 0 ],
"mData":"ArtistID",
"mRender": function ( data, type, full ) {
return '<div id="artistImg"><img class="albumArt" alt="" id="'+ data + '" src="/thumbs/artist/' + data + '"/></div>';
return '<div id="artistImg"><img class="albumArt" alt="" id="'+ data + '" src="/artwork/thumbs/artist/' + data + '"/></div>';
}
},
{