mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2743 from int2001/fix_double_search
Fixes double-submitting form
This commit is contained in:
@@ -507,7 +507,7 @@ $options = json_decode($options);
|
||||
<div class="row">
|
||||
<div class="col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||
<div class="d-flex flex-wrap gap-1">
|
||||
<button class="btn btn-primary btn-sm flex-shrink-0" onclick="$('#searchForm').submit(); $('#filterDropdown').dropdown('hide');"><i class="fas fa-search"></i> <?= __("Apply filters"); ?></button>
|
||||
<button type="button" class="btn btn-primary btn-sm flex-shrink-0" onclick="$('#searchForm').submit(); $('#filterDropdown').dropdown('hide');"><i class="fas fa-search"></i> <?= __("Apply filters"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -689,7 +689,7 @@ $options = json_decode($options);
|
||||
<div class="row">
|
||||
<div class="col-lg-2 col-md-2 col-sm-3 col-xl">
|
||||
<div class="d-flex flex-wrap gap-1">
|
||||
<button class="btn btn-primary btn-sm flex-shrink-0" onclick="$('#searchForm').submit(); $('#qslFilterDropdown').dropdown('hide');"><i class="fas fa-search"></i> <?= __("Apply filters"); ?></button>
|
||||
<button type="button" class="btn btn-primary btn-sm flex-shrink-0" onclick="$('#searchForm').submit(); $('#qslFilterDropdown').dropdown('hide');"><i class="fas fa-search"></i> <?= __("Apply filters"); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user