Merge branch 'CC-3174' into devel
This commit is contained in:
commit
1c462aa770
|
@ -20,7 +20,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
$('#library_display tr[id ^= "au"]').draggable({
|
$('#library_display tr[id ^= "au"]').draggable({
|
||||||
helper: function(){
|
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) {
|
if (selected.length === 0) {
|
||||||
selected = $(this);
|
selected = $(this);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
$('#library_display tr:not(:first)').draggable({
|
$('#library_display tr:not(:first)').draggable({
|
||||||
helper: function(){
|
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) {
|
if (selected.length === 0) {
|
||||||
selected = $(this);
|
selected = $(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue