mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-07 16:12:53 +01:00
#1999 sending ajaxify-data to client on cold loads
commented out until we figure out what we're doing with the renamed properties (see issue)
This commit is contained in:
@@ -407,6 +407,7 @@ middleware.processRender = function(req, res, next) {
|
||||
}
|
||||
|
||||
render.call(self, template, options, function(err, str) {
|
||||
// str = str + '<input type="hidden" ajaxify-data="' + encodeURIComponent(JSON.stringify(options)) + '" />';
|
||||
str = (res.locals.postHeader ? res.locals.postHeader : '') + str + (res.locals.preFooter ? res.locals.preFooter : '');
|
||||
|
||||
if (res.locals.footer) {
|
||||
|
||||
Reference in New Issue
Block a user