Mercurial > p > roundup > code
view scripts/Docker/sphinxdeps.txt @ 8458:15a92b0a9b79
fix: make user_src_input generate valid javascript
user_src_input used to generate False if edit_ok == False in this
statement:
tal:attributes="onblur python:edit_ok and 'split_name(this)';
but False isn't a boolean in javascript, so it throws an error in the
console. Changed to use:
tal:attributes="onblur python:'split_name(this)' if edit_ok else '';
which generates an empty onblur if the field is not editable.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 Sep 2025 23:30:07 -0400 |
| parents | d117ddcb0ed1 |
| children |
line wrap: on
line source
Babel Jinja2 MarkupSafe Pygments alabaster certifi charset-normalizer docutils idna imagesize packaging pyparsing requests six snowballstemmer sphinxcontrib-applehelp sphinxcontrib-devhelp sphinxcontrib-htmlhelp sphinxcontrib-jsmath sphinxcontrib-qthelp sphinxcontrib-serializinghtml sphinxcontrib-websupport urllib3
