[fix] Postinstall fail

This commit is contained in:
Kload 2014-05-18 00:07:39 +02:00
parent a380c6b1b3
commit 4fc84c9bf1

View file

@ -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 {