From 522faec2de9c9463ad312f75f07883cd05f9211f Mon Sep 17 00:00:00 2001
From: Fran <hola@beachlab.org>
Date: Mon, 18 May 2020 15:19:04 +0200
Subject: [PATCH] fix bug that prevents saving the module path in the programs
 and pages

---
 js/mods.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/js/mods.js b/js/mods.js
index 51164cb..c8cfab1 100644
--- a/js/mods.js
+++ b/js/mods.js
@@ -797,6 +797,7 @@ function save_program() {
                idnumber,module.dataset.definition),
             top:module.dataset.top,
             left:module.dataset.left,
+            filename: module.dataset.filename,
             inputs:{},
             outputs:{}
             }
@@ -842,6 +843,7 @@ function save_page() {
                idnumber,module.dataset.definition),
             top:module.dataset.top,
             left:module.dataset.left,
+	    filename: module.dataset.filename,
             inputs:{},
             outputs:{}
             }
-- 
GitLab