오류 수정

main
이범준 9 months ago
parent c3ecc836ba
commit 8f637f50c0

@ -428,9 +428,9 @@ $(document).ready(function(){
}; };
$P.checkCrdnList = (element, bool) => { $P.checkCrdnList = (element, bool) => {
Grid.checkbox.sync(element, bool); GRID.checkbox.sync(element, bool);
var atLeastOne = Grid.checkbox.countChecked(element) > 0; var atLeastOne = GRID.checkbox.countChecked(element) > 0;
$("#btnSendCrdn--${pageName}").prop("disabled", !atLeastOne); $("#btnSendCrdn--${pageName}").prop("disabled", !atLeastOne);
Apply.toDataset.selection($P.crdnControl.dataset, element, bool); Apply.toDataset.selection($P.crdnControl.dataset, element, bool);

@ -408,9 +408,9 @@ $(document).ready(function(){
} }
$P.checkCrdnList = (element, bool) => { $P.checkCrdnList = (element, bool) => {
Grid.checkbox.sync(element, bool); GRID.checkbox.sync(element, bool);
var atLeastOne = Grid.checkbox.countChecked(element) > 0; var atLeastOne = GRID.checkbox.countChecked(element) > 0;
$("#btnExecuteAnswer--${pageName}").prop("disabled", !atLeastOne); $("#btnExecuteAnswer--${pageName}").prop("disabled", !atLeastOne);
$("#btnAnswerComplete--${pageName}").prop("disabled", !atLeastOne); $("#btnAnswerComplete--${pageName}").prop("disabled", !atLeastOne);
$("#btnExecuteDisabledTagInfoInquire--${pageName}").prop("disabled", !atLeastOne); $("#btnExecuteDisabledTagInfoInquire--${pageName}").prop("disabled", !atLeastOne);

Loading…
Cancel
Save