From: Alan Knowles Date: Tue, 19 May 2015 05:07:09 +0000 (+0800) Subject: src/JsRender/NodeToVala.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=c8266ac59c00a001d15b46a0c8795220dd0d96d5;p=app.Builder.js src/JsRender/NodeToVala.vala --- diff --git a/src/JsRender/NodeToVala.vala b/src/JsRender/NodeToVala.vala index 45f30d4ab..2807ec3b6 100644 --- a/src/JsRender/NodeToVala.vala +++ b/src/JsRender/NodeToVala.vala @@ -412,6 +412,8 @@ public class JsRender.NodeToVala : Object { this.addLine( this.ipad + "_this = this;"); return; } + // for non top level = _this point to owner, and id is added to the owner object.. + this.addLine( this.ipad + "_this = _owner;"); if (this.node.props.has_key("id")