Skip to content
Commit b8d2bcd4 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: ui.js: resolve parent ul early in UIDropdown.toggleItem()



The parent node of the current li might be null after collapsing the
dropdown, so resolve the parent ul early to avoid passing null to
subsequent calls.

Fixes clearing custom input values in DynamicList dropdowns.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent fa20ad41
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment