mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
use a instead of button from .btn-file, because firefox submits the form when clicking on it
This commit is contained in:
parent
80799aa1d4
commit
4483b21d05
|
@ -1458,9 +1458,9 @@ $(document).ready(function() {
|
|||
<div class="input-group">
|
||||
<input type="text" class="form-control fileupload-group" id="kkll'.$id.'" readonly>
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-secondary btn-file">
|
||||
<a class="btn btn-secondary btn-file">
|
||||
'.getMLText("browse").'… <input id="'.$id.'" type="file" name="'.$varname.'"'.($multiple ? " multiple" : "").($accept ? ' accept="'.$accept.'"' : "").' data-target-highlight="kkll'.$id.'">
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user