mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Postinstall fail
This commit is contained in:
parent
a380c6b1b3
commit
4fc84c9bf1
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ app = Sammy('#main', function (sam) {
|
||||||
} else if (typeof xhr.responseJSON !== 'undefined') {
|
} else if (typeof xhr.responseJSON !== 'undefined') {
|
||||||
$('#popup').modal('hide');
|
$('#popup').modal('hide');
|
||||||
c.flash('fail', xhr.responseJSON.error);
|
c.flash('fail', xhr.responseJSON.error);
|
||||||
} else if (typeof xhr.responseText !== 'undefined') {
|
} else if (typeof xhr.responseText !== 'undefined' && uri !== '/postinstall') {
|
||||||
$('#popup').modal('hide');
|
$('#popup').modal('hide');
|
||||||
c.flash('fail', xhr.responseText);
|
c.flash('fail', xhr.responseText);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue