From e6f205368be9359dd6fea617e6c963e2696b616b Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Fri, 12 Aug 2016 11:33:27 +0200 Subject: [PATCH] fixes tutorial bug of inappropriate window --- app/assets/javascripts/reports/new.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/reports/new.js b/app/assets/javascripts/reports/new.js index 468324566..0df18fe11 100644 --- a/app/assets/javascripts/reports/new.js +++ b/app/assets/javascripts/reports/new.js @@ -1105,6 +1105,8 @@ function constructElementContentsJson(el) { /* Initialize the first-time demo tutorial if needed. */ function initializeTutorial() { if (showTutorial()) { + ignoreUnsavedWorkAlert = true; + introJs() .setOptions({ overlayOpacity: '0.1',