In JavaScript (other than in Python) an empty array is considered `true` within if statements. Fix this by checking for the array length rather than its existence. This fixes the issue of an empty dropdown menu in case the user is running the latest release. Signed-off-by: Paul Spooren <mail@aparcar.org> |
||
---|---|---|
.. | ||
htdocs/luci-static/resources/view/attendedsysupgrade | ||
po | ||
root/usr/share | ||
Makefile |