aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/html/category
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-22 22:50:18 +0200
committerThomas Lange <code@nerdmind.de>2021-07-22 22:50:18 +0200
commit6b110bd109ceeb0a351c5da5427e66befe727292 (patch)
tree6125a2537e5f82b3ba081f591926d6c76b7ca1b2 /theme/admin/html/category
parent27e7a426b1c7ba7ec878204a937a0ecfff5214ed (diff)
downloadblog-6b110bd109ceeb0a351c5da5427e66befe727292.tar.gz
blog-6b110bd109ceeb0a351c5da5427e66befe727292.tar.xz
blog-6b110bd109ceeb0a351c5da5427e66befe727292.zip
Add "autofocus" attribute to HTML form fields
Diffstat (limited to 'theme/admin/html/category')
-rw-r--r--theme/admin/html/category/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/admin/html/category/form.php b/theme/admin/html/category/form.php
index 2cb7b20..a6c1137 100644
--- a/theme/admin/html/category/form.php
+++ b/theme/admin/html/category/form.php
@@ -33,7 +33,7 @@ function categorySelectList($category_tree, $selected = NULL, $current = NULL, $
<i class="fa fa-tag"></i><?=$Language->text('label_name')?></label>
<div class="form-grid-item first">
- <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" />
+ <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" autofocus />
</div>
<label for="form_slug">