diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-06 12:48:33 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-07-06 15:00:29 +0200 |
| commit | 9a6f1dccc4e24467e73dd2a9bb5f7e81b1116d19 (patch) | |
| tree | 4e29aa55f38ef3e6482367ad51421302166c0330 /ishtar_common/templates/ishtar/wizard/default_wizard.html | |
| parent | 6eee2676bde3fc72d57338540fc4ce89847c2cb6 (diff) | |
| download | Ishtar-9a6f1dccc4e24467e73dd2a9bb5f7e81b1116d19.tar.bz2 Ishtar-9a6f1dccc4e24467e73dd2a9bb5f7e81b1116d19.zip | |
🐛 wizards: fix autofocus of first field
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/default_wizard.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/wizard/default_wizard.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/default_wizard.html b/ishtar_common/templates/ishtar/wizard/default_wizard.html index 50e0662ae..405c52965 100644 --- a/ishtar_common/templates/ishtar/wizard/default_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/default_wizard.html @@ -65,6 +65,7 @@ $(document).ready(function(){ {% if open_url %}load_window("{{open_url}}");{% endif %} {% block "js_extra_ready" %} {% endblock %} + if ($("[autofocus]").length > 0) autofocus_field = "#" + $($("[autofocus]")[0]).attr('id'); }); {% endlocalize %}</script> {% endblock %} |
