# HG changeset patch # User Marcin Lulek # Date 2020-03-31 14:15:15 # Node ID 2d01fa4d4da98685a7cf0ea5e43faebabc8f61d0 # Parent 45edd010bf830fcd04405f4934ea81643b478a67 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) diff --git a/rhodecode/templates/errors/error_document.mako b/rhodecode/templates/errors/error_document.mako --- 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"/>