#371 focus title field on edit

* enhanced edit-text widget with a "focus=true" attribute
* modified title template to make it focus and select by default
This commit is contained in:
Tobias Beer
2014-11-25 12:39:08 +01:00
parent 4134392841
commit c0834583a0
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
title: $:/core/ui/EditTemplate/title
tags: $:/tags/EditTemplate
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor"/>
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor" focus="true"/>