mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Do not use full urls when not needed, to prevent issues with SSL mixed content
This commit is contained in:
parent
7e6765b6de
commit
bd20c40531
4 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
data-delete-message="{% trans %}part_list.action.delete-message{% endtrans %}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token('table_action') }}">
|
||||
|
||||
<input type="hidden" name="redirect_back" value="{{ app.request.uri }}">
|
||||
<input type="hidden" name="redirect_back" value="{{ app.request.requestUri }}">
|
||||
|
||||
<input type="hidden" name="ids" {{ stimulus_target('elements/datatables/parts', 'selectIDs') }} value="">
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{{ stimulus_controller('elements/delete_btn') }} {{ stimulus_action('elements/delete_btn', "submit", "submit") }}
|
||||
data-delete-title="{% trans %}log.undo.confirm_title{% endtrans %}"
|
||||
data-delete-message="{% trans %}log.undo.confirm_message{% endtrans %}">
|
||||
<input type="hidden" name="redirect_back" value="{{ app.request.uri }}">
|
||||
<input type="hidden" name="redirect_back" value="{{ app.request.requestUri }}">
|
||||
|
||||
{{ datatables.logDataTable(datatable, tag) }}
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue