aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-11-01 12:17:17 +0000
committerDave Arter <davea@mysociety.org>2017-12-05 12:38:14 +0000
commit509effcbcdf0f193c3dda787e7659b8ee6ea3ed1 (patch)
treeb92c37a4d22ee1e3b431c203a8f552a4ba660f60 /web/js
parent2c81e17bf319c5db8b79bca81da7623dc41f4ccd (diff)
Use JS to split category UI into category/subcategory
This commit splits the category dropdown into two fields: a top-level "category" field populated with the category groups, and a "subcategory" field for the options in each <optgroup> in the original HTML. It does some short-circuiting, e.g. for optgroups that only have a single option the subcategory field won't be shown.
Diffstat (limited to 'web/js')
0 files changed, 0 insertions, 0 deletions