mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Revert "pre-fill the domain"
This reverts commit 46b6992b52.
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
8c349800c0
commit
eeccfec0c9
2 changed files with 1 additions and 11 deletions
|
|
@ -1,7 +0,0 @@
|
||||||
document.addEventListener("DOMContentLoaded", function(event) {
|
|
||||||
// domain
|
|
||||||
let domain = document.getElementById("domain_input");
|
|
||||||
if (domain) {
|
|
||||||
domain.value = window.location.host
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
@ -21,9 +21,6 @@
|
||||||
{# Add 2nd tab warning #}
|
{# Add 2nd tab warning #}
|
||||||
<script type="text/javascript" src="second-tab-warning.js"></script>
|
<script type="text/javascript" src="second-tab-warning.js"></script>
|
||||||
|
|
||||||
{# Add domain-prefill #}
|
|
||||||
<script type="text/javascript" src="domain-prefill.js"></script>
|
|
||||||
|
|
||||||
{# timezone-prefill #}
|
{# timezone-prefill #}
|
||||||
<script type="text/javascript" src="timezone.js"></script>
|
<script type="text/javascript" src="timezone.js"></script>
|
||||||
|
|
||||||
|
|
@ -106,7 +103,7 @@
|
||||||
<b>Please note:</b> The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!<br><br>
|
<b>Please note:</b> The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!<br><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="POST" action="/api/configuration" class="xhr">
|
<form method="POST" action="/api/configuration" class="xhr">
|
||||||
<input type="text" id="domain_input" name="domain" value="{{ domain }}" placeholder="nextcloud.yourdomain.com"/>
|
<input type="text" name="domain" value="{{ domain }}" placeholder="nextcloud.yourdomain.com"/>
|
||||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||||
<input class="button" type="submit" value="Submit domain" />
|
<input class="button" type="submit" value="Submit domain" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue