CC-3896: Playlist Builder: Using "select this page" to add songs to playlist, those songs will be added in by opposite order, like a stack
-fixed
This commit is contained in:
parent
c1976162cb
commit
05378f52d3
|
@ -153,10 +153,14 @@ var AIRTIME = (function(AIRTIME) {
|
|||
/*
|
||||
* selects all items which the user can currently see.
|
||||
* (behaviour taken from gmail)
|
||||
*
|
||||
* by default the items are selected in reverse order
|
||||
* so we need to reverse it back
|
||||
*/
|
||||
mod.selectCurrentPage = function() {
|
||||
var $trs = $libTable.find("tbody input:checkbox").parents("tr");
|
||||
|
||||
$.fn.reverse = [].reverse;
|
||||
var $trs = $libTable.find("tbody input:checkbox").parents("tr").reverse();
|
||||
|
||||
$trs.each(function(i, el){
|
||||
$el = $(this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue