1.9.9 - Drag and drop sorting
This commit is contained in:
parent
e94854faff
commit
bab5923c64
6 changed files with 51 additions and 14 deletions
|
@ -58,8 +58,8 @@ function generateSongHTML(rowcolor, childid, parentid, track, title, artist, alb
|
|||
return html;
|
||||
}
|
||||
|
||||
function refreshRowColor() {
|
||||
$.each($('table.songlist tr.song'), function (i) {
|
||||
function refreshRowColor(el) {
|
||||
$.each($(el + ' tr.song'), function (i) {
|
||||
$(this).removeClass('even odd');
|
||||
var rowcolor;
|
||||
if (i % 2 === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue