Fixed title not correctly saving!
This commit is contained in:
parent
45d57d181d
commit
e208d65b7c
|
@ -373,7 +373,7 @@
|
||||||
*/
|
*/
|
||||||
var queryString="";
|
var queryString="";
|
||||||
for(var i in inputs) {
|
for(var i in inputs) {
|
||||||
queryString+="&"+inputs[i]+"="+encodeURIComponent(document.getElementById(inputs[i]).value); // Hier werden Zahlen erwartet ... die müssen nicht encoded werden
|
queryString+="&"+inputs[i]+"="+encodeURIComponent(document.getElementById(inputs[i]).value);
|
||||||
}
|
}
|
||||||
queryString="?"+queryString.substr(1);
|
queryString="?"+queryString.substr(1);
|
||||||
window.history.pushState({},"", queryString);
|
window.history.pushState({},"", queryString);
|
||||||
|
@ -435,6 +435,9 @@
|
||||||
for(let eid in seatingInputs) {
|
for(let eid in seatingInputs) {
|
||||||
document.getElementById(seatingInputs[eid]).onchange=rebuildSeating;
|
document.getElementById(seatingInputs[eid]).onchange=rebuildSeating;
|
||||||
}
|
}
|
||||||
|
if(("inputExamTitle" in get_params)) {
|
||||||
|
document.getElementById("inputExamTitle").value=get_params["inputExamTitle"];
|
||||||
|
}
|
||||||
rebuildSeating();
|
rebuildSeating();
|
||||||
document.getElementById("inputExamTitle").onchange=updateTitle;
|
document.getElementById("inputExamTitle").onchange=updateTitle;
|
||||||
document.getElementById("inputExamTitle").oninput=updateTitle;
|
document.getElementById("inputExamTitle").oninput=updateTitle;
|
||||||
|
@ -596,4 +599,4 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue