Commit 079ec1a5 authored by Sven Franck's avatar Sven Franck

added 404

parent 0ff0e9c2
......@@ -30,10 +30,16 @@
$(this).text(errorThrown);
},
success: function (value, textStatus, jqXHR) {
$(this).text(value);
if (value === "") {
$(this).text("file not found");
} else {
$(this).text(value);
}
},
});
}
} else {
$(this).text("no file to display");
}
};
......
Markdown is supported
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