no message

main
이범준 1 year ago
parent b674c72d18
commit 9f910239a6

@ -212,22 +212,23 @@ $(document).ready(function(){
};
$P.crdnControl.onCurrentChange = (item) => {
if(!$P.crdnControl.tableRenderComplete){
return;
}
if($P.crdnControl.tableRenderComplete){
$P.crdnControl.tableRenderComplete = false;
if(!item){
$P.clickCrdnList("", true);
} else {
$P.clickCrdnList($P.crdnControl.getCurrent()["CRDN_ID"], true);
}
$("label[for='table-responsive--${pageName}']").trigger("refreshEnd");
}
}
$P.crdnControl.onRemove = (selected, resp) => {
if (resp.saved){
$P.toast.show();
$P.crdnControl._load();
$P.refreshCrdnList();
}
}
@ -291,6 +292,10 @@ $(document).ready(function(){
$P.clickCrdnList = (dataKey, auto) => {
if(dataKey == ""){
$("#bottomCrdnPlc--${pageName}").val("");
if(auto){
$("label[for='table-responsive--${pageName}']").trigger("refreshEnd");
}
return;
}
@ -310,6 +315,8 @@ $(document).ready(function(){
if(!auto){
$P.crdnControl.setCurrent(dataKey);
} else {
$("label[for='table-responsive--${pageName}']").trigger("refreshEnd");
}
}

Loading…
Cancel
Save