luci-base: keep not yet rendered clone elements
authorChristian Korber <redacted>
Fri, 22 May 2026 10:00:27 +0000 (12:00 +0200)
committerPaul Donald <redacted>
Mon, 25 May 2026 08:35:28 +0000 (11:35 +0300)
commitec54122a48da50503b62362950ae191f416599b2
tree309aa74429ae812cdce109e12e3ca9a7146ef3b6
parent41e3fc3703ddf8b1ca3fb5f12ae1624110bae6f6
luci-base: keep not yet rendered clone elements

`handleClone` triggers `checkDepends` and also `parse` on `this.map.save` which
in turn also removes not yet rendered elements like clones.

This is not wanted and therefore guarded against.

Signed-off-by: Christian Korber <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js
git clone https://git.99rst.org/PROJECT