Commit 53cc1fda by Lee JaeWon

カテゴリー一覧が画面高さ調整

parent 594f5980
......@@ -2836,6 +2836,7 @@ CHK.changeSortType = function(sortType) {
* 作業一覧描画
*/
CHK.createOperationList = function(operationList, isSearched = false) {
var displayHeightForCategry = $('#operationTable').height();
$('#operationTable').empty();
if (isSearched) {
operationList = CHK.operation.searchOperationList;
......@@ -2923,6 +2924,12 @@ CHK.createOperationList = function(operationList, isSearched = false) {
operationTR.append(iconTd);
$(".table tbody").append(operationTR);
if(displayHeightForCategry == 0){
var baseHeight = window.innerHeight;
$(".table tbody").height(baseHeight - $("body").height() - $("footer").height());
} else {
$(".table tbody").height(displayHeightForCategry);
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment