From 19a47422d2d1a5847cf7a0ba908914d850fa5cba Mon Sep 17 00:00:00 2001 From: LukaszK Date: Fri, 16 May 2014 16:55:58 +0200 Subject: [PATCH] fixed EventedMind/iron-router#606 , UI.body.events #13 --- layout.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layout.js b/layout.js index 24a8249..22f8a94 100644 --- a/layout.js +++ b/layout.js @@ -363,7 +363,9 @@ BlazeUIManager = function (router) { BlazeUIManager.prototype = { render: function (props, parentComponent) { - this._component = UI.render(Layout.extend(props || {}), parentComponent || UI.body); + // this._component = UI.render(Layout.extend(props || {}), parentComponent || UI.body); + var bodyLayout = UI.body.extend(Layout); + this._component = UI.render(bodyLayout.extend(props || {}), parentComponent || UI.body); return this._component; },