From b7603162188734c215ca6d77ca141f028dce9108 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 12 Aug 2019 19:43:34 +0200 Subject: [PATCH] Using 'previous' on the password page to go back to the 'domain' page was breaking the accordion stuff because of the duplicate id in the slideback page --- src/js/yunohost/controllers/postinstall.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/js/yunohost/controllers/postinstall.js b/src/js/yunohost/controllers/postinstall.js index 3760920c..04f7d7e9 100644 --- a/src/js/yunohost/controllers/postinstall.js +++ b/src/js/yunohost/controllers/postinstall.js @@ -51,7 +51,7 @@ } store.set('maindomain', domain); }); - }); + }, false); // We disable enableSlide because that causes some issues with accordion when using the 'previous' button }); }); @@ -62,7 +62,9 @@ store.clear('slide'); c.redirect('#/postinstall/domain'); } else { - c.view('postinstall/postinstall_3', { 'domain': store.get('maindomain').toLowerCase() }); + c.view('postinstall/postinstall_3', { 'domain': store.get('maindomain').toLowerCase() }, + function() { }, + false); // We disable enableSlide because that causes some issues with accordion when using the 'previous' button } });