MCPcopy
hub / github.com/webpack/webpack / getPKFromSelection

Function getPKFromSelection

test/configCases/inner-graph/issue-11678/module.js:2960–2971  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2958 return selection.length;
2959}
2960function getPKFromSelection() {
2961 const selection = _tableObject.getSelection();
2962 if (selection.length === 0) {
2963 return null;
2964 }
2965 return {
2966 jobId: Number(selection[0].jpos_jobid),
2967 headerType: Number(selection[0].jpos_headertype),
2968 listPosNos: selection.map(obj => Number(obj.jpos_posno)),
2969 subPosNo: Number(selection[0].jpos_subposno)
2970 };
2971}
2972function _showParentTable(forceReload = true) {
2973 $(".form_wrapper").removeClass("serviceslist");
2974 if (forceReload) {

Callers 4

onShiftPositionFunction · 0.85
onDefineLayoutFunction · 0.85
_deleteEntryFunction · 0.85
onDeleteAndMoveNCHFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected