]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
882f195
)
Add an hidden submit
author
Zero
<redacted>
Fri, 26 Nov 2021 05:58:00 +0000
(13:58 +0800)
committer
Zero
<redacted>
Fri, 10 Dec 2021 06:50:04 +0000
(14:50 +0800)
This hidden submit makes auto submit while user press Enter on IP
input field.
resources/views/settings/audit.blade.php
patch
|
blob
|
history
diff --git
a/resources/views/settings/audit.blade.php
b/resources/views/settings/audit.blade.php
index 05a41e5aff483a2a8d1cfe26e38773c0b00818d9..0130c311912070c671314260a71adf070fafc2ce 100644
(file)
--- a/
resources/views/settings/audit.blade.php
+++ b/
resources/views/settings/audit.blade.php
@@
-52,6
+52,7
@@
<div class="form-group ml-auto">
<label for="ip">{{ trans('settings.ip_address') }}</label>
@include('form.text', ['name' => 'ip'])
+ <input type="submit" style="display: none">
</div>
</form>
</div>