Fixed empty show Showbuilder bug and started making checkboxes work like cursors used to

This commit is contained in:
Albert Santoni 2015-04-14 11:30:18 -04:00
parent 1194a0f959
commit b1ea1f27a3
2 changed files with 9 additions and 6 deletions

View file

@ -8,7 +8,7 @@ var AIRTIME = (function(AIRTIME) {
mod = AIRTIME.library;
mod.checkAddButton = function() {
var selected = mod.getChosenItemsLength(), $cursor = $('tr.cursor-selected-row'), check = false;
var selected = mod.getChosenItemsLength(), $cursor = $('tr.sb-selected'), check = false;
// make sure library items are selected and a cursor is selected.
if (selected !== 0 && $cursor.length !== 0) {
@ -146,7 +146,7 @@ var AIRTIME = (function(AIRTIME) {
});
}
$("#show_builder_table tr.cursor-selected-row")
$("#show_builder_table tr.sb-selected")
.each(function(i, el) {
aData.push($(el).prev().data("aData"));
});