mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
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:
parent
080fcef10d
commit
b760316218
1 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
||||||
}
|
}
|
||||||
store.set('maindomain', domain);
|
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');
|
store.clear('slide');
|
||||||
c.redirect('#/postinstall/domain');
|
c.redirect('#/postinstall/domain');
|
||||||
} else {
|
} 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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue