mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 23:16:20 +08:00
Merge pull request #363 from ZogStriP/autofocus
autofocus the input in the "insert image" dialog when clicking on...
This commit is contained in:
commit
cd4d908023
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user