CC-3355 : Timeline/Library: Select all in the library, drag to empty show --> nothing is added

This commit is contained in:
Naomi Aro 2012-02-24 19:58:06 +01:00
parent 4286de7b42
commit 1864447d7e
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);
}