From 483730e7553788573a62dffdf7349ba33bdb9519 Mon Sep 17 00:00:00 2001 From: Git Date: Fri, 29 Jun 2012 08:00:08 +0000 Subject: [PATCH] Empty commit --- sections/ajax/similar_artists.php | 3 ++- sections/artist/artist.php | 2 +- static/functions/artist_cloud.js | 26 +++++++++++++++----------- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/sections/ajax/similar_artists.php b/sections/ajax/similar_artists.php index dd8a3d05..58cea436 100644 --- a/sections/ajax/similar_artists.php +++ b/sections/ajax/similar_artists.php @@ -1,6 +1,7 @@ query(" SELECT @@ -13,7 +14,7 @@ JOIN artists_group AS ag ON ag.ArtistID=s2.ArtistID WHERE s1.ArtistID=".$artist_id." ORDER BY ass.Score DESC - LIMIT 14"); + LIMIT $artist_limit"); while(list($ArtistID, $Name, $Score) = $DB->next_record(MYSQLI_NUM, false)){ diff --git a/sections/artist/artist.php b/sections/artist/artist.php index 67658f8c..45a4d42d 100644 --- a/sections/artist/artist.php +++ b/sections/artist/artist.php @@ -803,7 +803,7 @@ function compare($X, $Y){
Similar Artist Map - + [Switch to Cloud]
' + name + ''); -// var item = $('
  • ' + name + '
  • '); + var item = $('
  • ' + name + '
  • '); $(item).click(function(e) { @@ -44,10 +50,8 @@ function addArtist(id, name, score) { } function addArtistMain(name) { - var item = $('
  • ' + name + '
  • '); - -// var item = $('
  • ' + name + '
  • '); - + var item = $('
  • ' + name + '
  • '); + $("#currentArtist").attr('href', 'artist.php?id=' + artistId); $("#currentArtist").text(artistName);