From 2c8b88602426ebcecc9f3e77adbd354670bf9df1 Mon Sep 17 00:00:00 2001 From: Marcin Lulek Date: Tue, 31 Mar 2020 16:15:15 +0200 Subject: [PATCH] js/html: init plugin on error documents so we get proper JS variables set required for some imports (e.g chat_pop.mp3 which caused 404 on 500/4XX pages) --- rhodecode/templates/errors/error_document.mako | 1 + 1 file changed, 1 insertion(+) diff --git a/rhodecode/templates/errors/error_document.mako b/rhodecode/templates/errors/error_document.mako index 587a9f34..5ac77932 100644 --- a/rhodecode/templates/errors/error_document.mako +++ b/rhodecode/templates/errors/error_document.mako @@ -21,6 +21,7 @@ // register templateContext to pass template variables to JS var templateContext = {timeago: {}}; + <%include file="/base/plugins_base.mako"/>