CC-3355 : Timeline/Library: Select all in the library, drag to empty show --> nothing is added
This commit is contained in:
parent
4286de7b42
commit
1864447d7e
|
@ -20,7 +20,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
|
||||
$('#library_display tr[id ^= "au"]').draggable({
|
||||
helper: function(){
|
||||
var selected = $('#library_display input:checked').parents('tr[id^="au"]');
|
||||
var selected = $('#library_display tr:not(:first) input:checked').parents('tr[id^="au"]');
|
||||
if (selected.length === 0) {
|
||||
selected = $(this);
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
|
||||
$('#library_display tr:not(:first)').draggable({
|
||||
helper: function(){
|
||||
var selected = $('#library_display input:checked').parents('tr');
|
||||
var selected = $('#library_display tr:not(:first) input:checked').parents('tr');
|
||||
if (selected.length === 0) {
|
||||
selected = $(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue