diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-07-24 13:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 13:17:07 +0200 |
commit | 14535748cb46eece73b43f63484afe631e390275 (patch) | |
tree | a3cb02c1a8e92e3a8bd379d4b24acfc27eba9151 | |
parent | e8cba39201da29cd272fab101b8bfcad8aef0022 (diff) | |
parent | 95d004fc5d7d2716794839abfbae0d218b95eaee (diff) |
Merge pull request #4286 from TDT-AG/pr/20200724-luci-base
luci-base: fix widgets CBIUserSelect appending list on load
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/tools/widgets.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js index 7f724a17e..1de8a08bc 100644 --- a/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js +++ b/modules/luci-base/htdocs/luci-static/resources/tools/widgets.js @@ -580,6 +580,8 @@ var CBIUserSelect = form.ListValue.extend({ load: function(section_id) { return getUsers().then(L.bind(function(users) { + delete this.keylist; + delete this.vallist; for (var i = 0; i < users.length; i++) { this.value(users[i]); } |