()
| 153 | |
| 154 | // Create a new panel, set the current editing panel to that panel, update the form, and redraw. |
| 155 | const newPanel = function() { |
| 156 | post.newPanel(); |
| 157 | currentlySelectedPanelIndex = post.panels.length - 1; |
| 158 | updateForm(); |
| 159 | redraw(); |
| 160 | }; |
| 161 | |
| 162 | // Clone the panel, set the current editing panel to that panel, update the form and redraw. |
| 163 | const duplicatePanel = function() { |
no test coverage detected