#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)
v1.18.x
psychobunny 10 years ago
parent b0323e4d3b
commit 99a56acab8

@ -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) {

Loading…
Cancel
Save