()
| 2581 | return new UiSelectButton(TC.new, "newPosition", btnArray, "caret-1-s"); |
| 2582 | } |
| 2583 | export async function onEdit() { |
| 2584 | if (_isFormInDialog) { |
| 2585 | await _showForm( |
| 2586 | buttons.STATE.edit, |
| 2587 | _isFormInDialogJobPK, |
| 2588 | _isFormInDialogSelector |
| 2589 | ); |
| 2590 | } else { |
| 2591 | await _showForm(buttons.STATE.edit, _getDataFromSelectedEntry()); |
| 2592 | } |
| 2593 | } |
| 2594 | async function onDelete() { |
| 2595 | let selectionCount = 0; |
| 2596 | if (_isFormInDialog) { |
nothing calls this directly
no test coverage detected