mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 23:26:18 +08:00
autofocus the input in the "insert image" dialog when clicking on the "on the web" tab
This commit is contained in:
parent
f544e1d4f7
commit
61dcd61a5e
|
@ -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