Fixing display bug

This commit is contained in:
Zachary Klosko 2021-01-22 09:20:04 -05:00
parent fb683874a7
commit 99f4afdcea
1 changed files with 22 additions and 17 deletions

View File

@ -517,7 +517,9 @@ var AIRTIME = (function(AIRTIME) {
removeHistoryDialog(); removeHistoryDialog();
} }
}); });
} }
hisSubmit(); // Fixes display bug
/* /*
* Icon hover states for search. * Icon hover states for search.
@ -825,23 +827,26 @@ var AIRTIME = (function(AIRTIME) {
return AIRTIME.utilities.fnGetScheduleRange(dateStartId, timeStartId, dateEndId, timeEndId); return AIRTIME.utilities.fnGetScheduleRange(dateStartId, timeStartId, dateEndId, timeEndId);
} }
function hisSubmit(){
var fn, info;
info = getStartEnd();
fn = fnServerData;
fn.start = info.start;
fn.end = info.end;
if (inShowsTab) {
showSummaryList(info.start, info.end);
}
else {
redrawTables();
};
};
$historyContentDiv.find("#his_submit").click(function(ev){ $historyContentDiv.find("#his_submit").click(function(ev){
var fn, hisSubmit();
info;
info = getStartEnd();
fn = fnServerData;
fn.start = info.start;
fn.end = info.end;
if (inShowsTab) {
showSummaryList(info.start, info.end);
}
else {
redrawTables();
}
}); });
$historyContentDiv.on("click", ".his-select-page", selectCurrentPage); $historyContentDiv.on("click", ".his-select-page", selectCurrentPage);