Commit ed0b83d5 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

blueprint: fix the initial/default dropdown domain value

parent a24f2bd5890d
......@@ -374,11 +374,11 @@ def reworkui(engine,
title='domain',
onchange='setdomain(this)')as s:
if len(domains) > 1:
s.option('all')
s.option('all', value='all', selected='selected')
for domain in domains:
s.option(domain, value=domain)
else:
s.option(domains[0])
s.option(domains[0], value=domains[0], selected='selected')
if alttemplate:
return render_template_string(alttemplate,
......
Markdown is supported
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