|
|
|
@ -215,8 +215,7 @@
|
|
|
|
|
|
|
|
|
|
$("#sinmungoTbody--${pageName}").html("");
|
|
|
|
|
|
|
|
|
|
var originalDataList = resp.originalDataList;
|
|
|
|
|
var backupDataList = resp.backupDataList;
|
|
|
|
|
var list = resp.list;
|
|
|
|
|
|
|
|
|
|
if(list != null && list.length > 0){
|
|
|
|
|
sinmungoDataset.setData(list);
|
|
|
|
@ -226,13 +225,15 @@
|
|
|
|
|
|
|
|
|
|
var empty = sinmungoDataset.empty;
|
|
|
|
|
|
|
|
|
|
var notFound = [document.getElementById("sggNotFound--${pageName}").innerHTML];
|
|
|
|
|
var found = document.getElementById("sggRow--${pageName}").innerHTML;
|
|
|
|
|
var replacer = (str, dataItem) => str.replace(/{onclick}/gi, "");
|
|
|
|
|
var notFound = [document.getElementById("sinmungoNotFound--${pageName}").innerHTML];
|
|
|
|
|
var found = document.getElementById("sinmungoRow--${pageName}").innerHTML;
|
|
|
|
|
var replacer = (str, dataItem) => str
|
|
|
|
|
.replace(/{onclick}/gi, "fnClickSinmungoList('" + dataItem.getValue("SINMUNGO_INNER_KEY") + "');");
|
|
|
|
|
var trs = empty ? notFound : sinmungoDataset.inStrings(found, replacer);
|
|
|
|
|
|
|
|
|
|
$("#sinmungoTbody--${pageName}").html(trs.join());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$("#sinmungoTbody--${pageName}").find("tr").find("td").eq(0).click();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|