From f7e98f1272385dc299b7749d57764b3a46e29207 Mon Sep 17 00:00:00 2001 From: Vincent Nivoliers <vincent.nivoliers@univ-lyon1.fr> Date: Fri, 23 Sep 2016 17:40:46 +0200 Subject: [PATCH] missing preliminary save before download --- js/pgm_construction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/pgm_construction.js b/js/pgm_construction.js index 6e91c93..2135bcb 100644 --- a/js/pgm_construction.js +++ b/js/pgm_construction.js @@ -205,6 +205,7 @@ document.getElementById('pgm-load-local').addEventListener( /* save all data using filesaver.js */ function blob_download() { + local_save() ; var blob = new Blob( [JSON.stringify(localStorage)], {type : 'application/json'} -- GitLab