2.0 - Bug fixes
This commit is contained in:
parent
eabb7f5a15
commit
5fab973600
2 changed files with 7 additions and 11 deletions
|
@ -39,13 +39,9 @@ function loadArtists(id, refresh) {
|
|||
}
|
||||
|
||||
$.each(indexes, function (i, index) {
|
||||
if (index.name === '#') {
|
||||
indexname = '0-9';
|
||||
} else {
|
||||
indexname = index.name;
|
||||
}
|
||||
$('<li class=\"index\" id=\"index_' + indexname + '\" title=\"Scroll to Top\">' + indexname + '<span class=\"floatright\">↑</span></li>').appendTo("#ArtistContainer");
|
||||
indexlist += '<li><a href=\"#\">' + indexname + '</a></li>';
|
||||
indexname = index.name;
|
||||
$('<li class=\"index\" id=\"index_' + indexname + '\" title=\"Scroll to Top\"><a name=\"index_' + indexname + '\">' + indexname + '</a><span class=\"floatright\">↑</span></li>').appendTo("#ArtistContainer");
|
||||
indexlist += '<li><a href=\"#' + indexname + '\">' + indexname + '</a></li>';
|
||||
var artists = [];
|
||||
if (index.artist.length > 0) {
|
||||
artists = index.artist;
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
getAlbums($(this).attr("id"), '', '#AlbumRows');
|
||||
});
|
||||
$('#BottomIndex li a').live('click', function () {
|
||||
var el = '#index_' + $(this).text();
|
||||
var el = 'a[name = "index_' + $(this).text() + '"]';
|
||||
$('#Artists').stop().scrollTo(el, 400);
|
||||
return false;
|
||||
});
|
||||
|
@ -602,8 +602,8 @@
|
|||
};
|
||||
$("#CurrentPlaylistContainer tbody").sortable({
|
||||
helper: fixHelper,
|
||||
stop: function() {
|
||||
refreshRowColor('#CurrentPlaylistContainer tbody');
|
||||
stop: function () {
|
||||
refreshRowColor('#CurrentPlaylistContainer tbody');
|
||||
}
|
||||
}).disableSelection();
|
||||
$("#TrackContainer tbody").sortable({
|
||||
|
@ -613,4 +613,4 @@
|
|||
}
|
||||
}).disableSelection();
|
||||
|
||||
}); // End document.ready
|
||||
}); // End document.ready
|
Loading…
Add table
Add a link
Reference in a new issue