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

This commit is contained in:
Alexandre Aubin 2019-08-12 19:43:34 +02:00
parent 080fcef10d
commit b760316218

View file

@ -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
}
});