(state)
| 204 | } |
| 205 | } |
| 206 | async function onShiftPosition(state) { |
| 207 | const pk = getPKFromSelection(); |
| 208 | if (pk !== null) { |
| 209 | const ok = await shiftPosition(state, pk); |
| 210 | if (ok) { |
| 211 | await _updateTableContent(); |
| 212 | } |
| 213 | } else { |
| 214 | showLoadingWarning(TC.selectionEmpty); |
| 215 | } |
| 216 | } |
| 217 | async function onInsertFromTemplateDialog() { |
| 218 | if (_parentTableSelection) { |
| 219 | await setInsertData(_getModuleName(), _parentTableSelection); |
nothing calls this directly
no test coverage detected