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

luci-base: cbi.js: properly handle non-strings in `%h` and `%q` formats



Only replace null, objects and function values with the empty string but
return booleans and numbers as strings.

Spotted while debugging #5587.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 43818163
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