mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Fix to get the accept-disclaimer option working
This commit is contained in:
parent
cbb71490b1
commit
ac265a89b2
1 changed files with 2 additions and 2 deletions
|
@ -281,7 +281,7 @@
|
||||||
y18n.t('migrations'),
|
y18n.t('migrations'),
|
||||||
disclaimers.join('<hr>'),
|
disclaimers.join('<hr>'),
|
||||||
function(){
|
function(){
|
||||||
c.api('/migrations/migrate?accept-disclaimer',
|
c.api('/migrations/migrate?accept_disclaimer',
|
||||||
function (data) {
|
function (data) {
|
||||||
store.clear('slide');
|
store.clear('slide');
|
||||||
c.redirect('#/tools/migrations');
|
c.redirect('#/tools/migrations');
|
||||||
|
@ -299,7 +299,7 @@
|
||||||
function (data) {
|
function (data) {
|
||||||
store.clear('slide');
|
store.clear('slide');
|
||||||
c.redirect('#/tools/migrations');
|
c.redirect('#/tools/migrations');
|
||||||
}, 'POST')
|
}, 'POST');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue