()
| 1741 | } |
| 1742 | } |
| 1743 | async function _resetDetails() { |
| 1744 | setTableOverlayPanel(""); |
| 1745 | const isAddTask = |
| 1746 | typeof _options !== "undefined" && _options.hasOwnProperty("addTask") |
| 1747 | ? _options.addTask === 1 |
| 1748 | : false; |
| 1749 | if (_tableObject.getCurrentRow() === null || isAddTask) { |
| 1750 | |
| 1751 | await _removeDetails(); |
| 1752 | } else { |
| 1753 | |
| 1754 | await _showForm(buttons.STATE.show, _getDataFromSelectedEntry()); |
| 1755 | } |
| 1756 | } |
| 1757 | async function _removeDetails() { |
| 1758 | _hideTheForm(); |
| 1759 | await _createToolbarTable(buttons.STATE.initialize); |
no test coverage detected