-
+ @
diff --git a/js/hedera/form.js b/js/hedera/form.js
index bb00421d..1c3d276a 100644
--- a/js/hedera/form.js
+++ b/js/hedera/form.js
@@ -69,8 +69,8 @@ module.exports = new Class
if (this.node)
{
this.gui.setForm (this.node);
- this.gui.setTitle (scope.$.title);
- this.gui.setActions (scope.$.actions);
+ this.gui.setTitle (this.$.title);
+ this.gui.setActions (this.$.actions);
this.activate ();
}
diff --git a/js/vn/compiler-object.js b/js/vn/compiler-object.js
index 9544c223..55693d79 100644
--- a/js/vn/compiler-object.js
+++ b/js/vn/compiler-object.js
@@ -153,28 +153,6 @@ module.exports = new Class
attribute, node.tagName);
}
- ,postCompile: function (contextMap)
- {
- var links = this._links;
-
- for (var i = links.length - 1; i >= 0; i--)
- {
- var link = links[i];
- var context = link.context;
- var contextId = contextMap[link.objectId];
-
- if (contextId == undefined)
- continue;
-
- if (link.prop)
- context.objectProps[link.prop] = contextId;
- else
- context.childs.push (contextId);
-
- links.splice (i, 1);
- }
- }
-
,addLink: function (context, prop, objectId)
{
this._links.push ({
@@ -206,7 +184,7 @@ module.exports = new Class
var object = objects[link.context.id];
var objectRef = scope.$[link.objectId];
- if (objectRef == null)
+ if (objectRef === undefined)
{
this.showError ('Referenced unexistent object with id \'%s\'',
link.objectId);