autofocus the input in the "insert image" dialog when clicking on the "on the web" tab

This commit is contained in:
Régis Hanol 2013-03-05 03:09:13 +01:00
parent f544e1d4f7
commit 61dcd61a5e

View File

@ -1,4 +1,4 @@
<ul class="nav nav-pills image-options">
<ul class="nav nav-pills image-options">
<li title="local image" {{bindAttr class="view.localSelected:active"}}>
<a href="#" {{action selectLocal target="view"}}>{{i18n image_selector.from_my_computer}}</a>
</li>
@ -23,7 +23,7 @@
{{else}}
<div class='modal-body'>
<form>
<input type="text" name="text" id="fileurl-input"><br>
<input type="text" name="text" id="fileurl-input" autofocus><br>
<span class='description'>{{i18n image_selector.remote_tip}}</span> <br>
</form>
</div>