Editing dialog says where the code lives instead of naming a person
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@
|
||||
showEditing();
|
||||
editbtn.onclick = () => {
|
||||
if (state.editing) { state.editing = null; state.name = null; store.set("sp-code", null); store.set("sp-name", null); showEditing(); route(); return; }
|
||||
dialog(`<h3>Switch Editing on</h3><p class="help">The editing code is in the campus's settings file in the repo; ask Chris.</p>
|
||||
dialog(`<h3>Switch Editing on</h3><p class="help">The editing code is the "editing code" line in the campus's settings file in the repo (config.json); whoever has the repo has it.</p>
|
||||
<input id="dcode" placeholder="editing code" autocomplete="off"><input id="dname" placeholder="your first name" autocomplete="off">
|
||||
<div class="row"><button class="primary" id="dok">Switch on</button><button id="dcancel">Cancel</button></div><p id="dmsg" class="help"></p>`, (box) => {
|
||||
box.querySelector("#dcancel").onclick = closeDialog;
|
||||
|
||||
Reference in New Issue
Block a user