stranck-dev #8

Merged
drew merged 6 commits from stranck-dev into drew-dev 2024-01-08 23:09:45 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit c7159cf3b4 - Show all commits

View File

@ -18,6 +18,7 @@ function confirmAction (intent, sender) {
intentEditPanel.style.display = 'block'; intentEditPanel.style.display = 'block';
intentEdit.setAttribute('required', true) intentEdit.setAttribute('required', true)
intentFormAction.setAttribute('method', 'POST') intentFormAction.setAttribute('method', 'POST')
document.getElementById("intentRename").value = sender.parentElement.parentElement.querySelector("span").innerText;
break break
case 'unconfirm': case 'unconfirm':
break break

View File

@ -54,7 +54,7 @@
<form method="POST" action="/manage/room/rename"> <form method="POST" action="/manage/room/rename">
<label for="name"></label> <label for="name"></label>
<input type="text" name="name" required minlength="4" maxlength="64" /> <input type="text" name="name" required minlength="4" maxlength="64" value="{{order.ans('room_name')}}"/>
<input type="submit" value="Rename room" /> <input type="submit" value="Rename room" />
</form> </form>
</article> </article>