diff --git a/airtime_mvc/public/js/airtime/library/events/library_playlistbuilder.js b/airtime_mvc/public/js/airtime/library/events/library_playlistbuilder.js index b6c007485..0aeef07f7 100644 --- a/airtime_mvc/public/js/airtime/library/events/library_playlistbuilder.js +++ b/airtime_mvc/public/js/airtime/library/events/library_playlistbuilder.js @@ -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); } diff --git a/airtime_mvc/public/js/airtime/library/events/library_showbuilder.js b/airtime_mvc/public/js/airtime/library/events/library_showbuilder.js index e73296237..311ecf9b5 100644 --- a/airtime_mvc/public/js/airtime/library/events/library_showbuilder.js +++ b/airtime_mvc/public/js/airtime/library/events/library_showbuilder.js @@ -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); }