From fd506d45ee76bb3b4a501c32df8da3ae4dcf7031 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 30 Jun 2011 22:21:53 +0200 Subject: [PATCH] added missing middleware url from parent for children --- htdocs/frontend/javascripts/entity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/frontend/javascripts/entity.js b/htdocs/frontend/javascripts/entity.js index 0d1578a..a2dcbd5 100644 --- a/htdocs/frontend/javascripts/entity.js +++ b/htdocs/frontend/javascripts/entity.js @@ -42,6 +42,7 @@ Entity.prototype.parseJSON = function(json) { if (this.children) { for (var i = 0; i < this.children.length; i++) { + this.children[i].middleware = this.middleware; // children inherit parent middleware this.children[i] = new Entity(this.children[i]); }