From 9cd751e97700fbb69ad774ca6b998806ea04fab1 Mon Sep 17 00:00:00 2001 From: Chaya Stern Date: Mon, 26 Jun 2017 12:07:44 +0300 Subject: [PATCH] Fix bug: Export Subflows (#1282) * fix bug with export subflows * fix bug with export config-nodes --- editor/js/nodes.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 40e9806ba..07f77b9e0 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -508,10 +508,10 @@ RED.nodes = (function() { /** * Converts the current node selection to an exportable JSON Object **/ - function createExportableNodeSet(set) { + function createExportableNodeSet(set, exportedSubflows, exportedConfigNodes) { var nns = []; - var exportedConfigNodes = {}; - var exportedSubflows = {}; + exportedConfigNodes = exportedConfigNodes || {}; + exportedSubflows = exportedSubflows || {}; for (var n=0;n