Fix the issue that the file name input loses focus when add file via

firefox in Linux
This commit is contained in:
Robin Shen 2019-06-19 18:25:32 +08:00
parent f280c73f37
commit fb332489fc

View File

@ -1,5 +1,7 @@
<wicket:panel>
<div class="source-edit autofit blob-submit-aware">
<!-- Make it no-autofocus as we will do focus with CodeMirror. Also this is necessary to fix the issue that
file name input loses focus when add file via firefox in Linux -->
<div class="source-edit autofit blob-submit-aware no-autofocus">
<div class="warning alert alert-warning">
<button class="close" data-dismiss="alert"><span>&times;</span></button>
<div class="message"><i class="fa fa-warning"></i> Below content is restored from an unsaved change</div>