mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix the modindex checkboxes if none is selected.
This commit is contained in:
parent
dbeb13600f
commit
98f098e4be
@ -19,6 +19,7 @@
|
||||
{%- if pl in showpf %} checked="checked"{% endif %}>
|
||||
<label for="pl-{{ pl }}">{{ pl }}</label>
|
||||
{% endfor %}
|
||||
<input type="hidden" name="newpf" value="true">
|
||||
<input type="submit" value="Apply">
|
||||
</form>
|
||||
{% endif %}
|
||||
|
@ -348,7 +348,7 @@ class DocumentationApplication(object):
|
||||
} for x in sorted(most_frequent)]
|
||||
|
||||
showpf = None
|
||||
newpf = req.args.get('pf')
|
||||
newpf = req.args.get('newpf')
|
||||
sesspf = req.session.get('pf')
|
||||
if newpf or sesspf:
|
||||
yield NoCache
|
||||
|
Loading…
Reference in New Issue
Block a user