(toTargetModule = null)
| 221 | } |
| 222 | } |
| 223 | async function onCopy(toTargetModule = null) { |
| 224 | if (_parentTableSelection) { |
| 225 | const refresh = await copyPosition( |
| 226 | _getModuleName(), |
| 227 | _parentTableSelection, |
| 228 | _staticData, |
| 229 | _getListofSelectedRow(), |
| 230 | toTargetModule |
| 231 | ); |
| 232 | if (refresh) { |
| 233 | await _updateTableContent(); |
| 234 | } |
| 235 | } |
| 236 | } |
| 237 | async function onCopyToJob() { |
| 238 | await onCopy(ModuleNameEnum.JOB); |
| 239 | } |
no test coverage detected