X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FImportSonePage.java;h=413ed808a2bab00ead96c1b7c740fffc306e018c;hb=fd4e3c59035c9321a63507e2100c66532c8f1938;hp=05bf0459ed2f249d885eba98c7d746d2583cc3b2;hpb=074930c599e18651817cdda8830be05c3f7c004e;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/web/ImportSonePage.java b/src/main/java/net/pterodactylus/sone/web/ImportSonePage.java index 05bf045..413ed80 100644 --- a/src/main/java/net/pterodactylus/sone/web/ImportSonePage.java +++ b/src/main/java/net/pterodactylus/sone/web/ImportSonePage.java @@ -48,7 +48,7 @@ public class ImportSonePage extends SoneTemplatePage { * The Sone web interface */ public ImportSonePage(Template template, WebInterface webInterface) { - super("importSone.html", template, "Page.ImportSone.Title", webInterface); + super("importSone.html", template, "Page.ImportSone.Title", webInterface, false); } // @@ -60,6 +60,7 @@ public class ImportSonePage extends SoneTemplatePage { */ @Override protected void processTemplate(net.pterodactylus.sone.web.page.Page.Request request, Template template) throws RedirectException { + super.processTemplate(request, template); template.set("errorParsingSone", false); if (request.getMethod() == Method.POST) { Bucket soneBucket = request.getHttpRequest().getPart("sone-file");