[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') {
$('#popup').modal('hide');
c.flash('fail', xhr.responseJSON.error);
} else if (typeof xhr.responseText !== 'undefined') {
} else if (typeof xhr.responseText !== 'undefined' && uri !== '/postinstall') {
$('#popup').modal('hide');
c.flash('fail', xhr.responseText);
} else {