diff --git a/Klausur.html b/Klausur.html
index b241eab..0528189 100644
--- a/Klausur.html
+++ b/Klausur.html
@@ -373,7 +373,7 @@
*/
var queryString="";
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);
window.history.pushState({},"", queryString);
@@ -435,6 +435,9 @@
for(let eid in seatingInputs) {
document.getElementById(seatingInputs[eid]).onchange=rebuildSeating;
}
+ if(("inputExamTitle" in get_params)) {
+ document.getElementById("inputExamTitle").value=get_params["inputExamTitle"];
+ }
rebuildSeating();
document.getElementById("inputExamTitle").onchange=updateTitle;
document.getElementById("inputExamTitle").oninput=updateTitle;
@@ -596,4 +599,4 @@
}