SAAS-1088 - move 'All My Shows' checkbox to dropdown instead

This commit is contained in:
Duncan Sommerville 2015-09-30 11:38:33 -04:00
parent 258500f650
commit 2ee7e4bf71
3 changed files with 11 additions and 8 deletions

View file

@ -94,8 +94,6 @@ AIRTIME = (function(AIRTIME) {
check = validateTimeRange();
console.log(check);
if (check.isValid) {
//reset timestamp value since input values could have changed.
AIRTIME.showbuilder.resetTimestamp();
@ -111,7 +109,8 @@ AIRTIME = (function(AIRTIME) {
fn.ops = {};
}
fn.ops.showFilter = op.find("#sb_show_filter").val();
fn.ops.myShows = op.find("#sb_my_shows").is(":checked") ? 1 : 0;
// Hacky?
fn.ops.myShows = (fn.ops.showFilter == -1) ? 1 : 0;
}
oTable.fnDraw();