mirror of
https://github.com/discourse/discourse.git
synced 2025-04-25 16:04:30 +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"}}>
|
<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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user