Commit 623e0825 authored by Phil Höfer's avatar Phil Höfer
Browse files

Add error message. (Users are then redirected to the start screen.)

parent 133da3ab
......@@ -12,7 +12,8 @@ return xhttp.responseXML;
function render(err, content)
{
if (err) {
alert("Fehler bei der Suche! Bitte prüfen Sie Ihr Netzwerk.");
location.href="index.xhtml";
} else {
style = loadXMLDoc("style/material.xsl");
if (document.implementation && document.implementation.createDocument)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment