Give focus to the prefix, if user clicks on the name

This commit is contained in:
Ralf Becker 2006-12-22 10:34:56 +00:00
parent 6584ab6487
commit 72a8d897b9
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -76,7 +76,7 @@
<rows>
<row>
<description value="Name"/>
<textbox rows="1" cols="3" id="n_fn" no_lang="1" onclick="set_style_by_class('table','editname','display','inline');" size="36" span="2" class="cursorHand" readonly="true"/>
<textbox rows="1" cols="3" id="n_fn" no_lang="1" onclick="set_style_by_class('table','editname','display','inline'); document.getElementById(form::name('n_prefix')).focus();" size="36" span="2" class="cursorHand" readonly="true"/>
</row>
<row>
<description/>