Merge pull request #363 from ZogStriP/autofocus

autofocus the input in the "insert image" dialog when clicking on...
This commit is contained in:
Robin Ward 2013-03-05 06:39:16 -08:00
commit cd4d908023
1 changed files with 2 additions and 2 deletions

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"}}> <li title="local image" {{bindAttr class="view.localSelected:active"}}>
<a href="#" {{action selectLocal target="view"}}>{{i18n image_selector.from_my_computer}}</a> <a href="#" {{action selectLocal target="view"}}>{{i18n image_selector.from_my_computer}}</a>
</li> </li>
@ -23,7 +23,7 @@
{{else}} {{else}}
<div class='modal-body'> <div class='modal-body'>
<form> <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> <span class='description'>{{i18n image_selector.remote_tip}}</span> <br>
</form> </form>
</div> </div>