From 9d49660334389108281055d304882e933daed719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wrzeszcz?= Date: Mon, 19 Dec 2011 13:03:29 +0100 Subject: [PATCH] Fixed tutorials tree generation. --- templates/default/publish.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/default/publish.js b/templates/default/publish.js index 5741dfa7..803c25e9 100644 --- a/templates/default/publish.js +++ b/templates/default/publish.js @@ -420,6 +420,7 @@ function saveChildren(node) { node.children.forEach(function(child) { generateTutorial('Tutorial: '+child.title, child, helper.tutorialToUrl(child.name)); + saveChildren(child); }); } saveChildren(tutorials); @@ -434,4 +435,4 @@ return ''+hash+''; } -})(); \ No newline at end of file +})();