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) {
|
$.each(indexes, function (i, index) {
|
||||||
if (index.name === '#') {
|
|
||||||
indexname = '0-9';
|
|
||||||
} else {
|
|
||||||
indexname = index.name;
|
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");
|
||||||
$('<li class=\"index\" id=\"index_' + indexname + '\" title=\"Scroll to Top\">' + indexname + '<span class=\"floatright\">↑</span></li>').appendTo("#ArtistContainer");
|
indexlist += '<li><a href=\"#' + indexname + '\">' + indexname + '</a></li>';
|
||||||
indexlist += '<li><a href=\"#\">' + indexname + '</a></li>';
|
|
||||||
var artists = [];
|
var artists = [];
|
||||||
if (index.artist.length > 0) {
|
if (index.artist.length > 0) {
|
||||||
artists = index.artist;
|
artists = index.artist;
|
||||||
|
|
|
@ -120,7 +120,7 @@
|
||||||
getAlbums($(this).attr("id"), '', '#AlbumRows');
|
getAlbums($(this).attr("id"), '', '#AlbumRows');
|
||||||
});
|
});
|
||||||
$('#BottomIndex li a').live('click', function () {
|
$('#BottomIndex li a').live('click', function () {
|
||||||
var el = '#index_' + $(this).text();
|
var el = 'a[name = "index_' + $(this).text() + '"]';
|
||||||
$('#Artists').stop().scrollTo(el, 400);
|
$('#Artists').stop().scrollTo(el, 400);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
@ -602,7 +602,7 @@
|
||||||
};
|
};
|
||||||
$("#CurrentPlaylistContainer tbody").sortable({
|
$("#CurrentPlaylistContainer tbody").sortable({
|
||||||
helper: fixHelper,
|
helper: fixHelper,
|
||||||
stop: function() {
|
stop: function () {
|
||||||
refreshRowColor('#CurrentPlaylistContainer tbody');
|
refreshRowColor('#CurrentPlaylistContainer tbody');
|
||||||
}
|
}
|
||||||
}).disableSelection();
|
}).disableSelection();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue