()
| 161 | |
| 162 | // Clone the panel, set the current editing panel to that panel, update the form and redraw. |
| 163 | const duplicatePanel = function() { |
| 164 | post.duplicatePanel(currentlySelectedPanelIndex); |
| 165 | currentlySelectedPanelIndex++; |
| 166 | updateForm(); |
| 167 | redraw(); |
| 168 | }; |
| 169 | |
| 170 | /* |
| 171 | Delete the current panel, set the current editing panel to the panel before, update the form and redraw. |
nothing calls this directly
no test coverage detected