Concat also the other results

Otherwise this will ignore the two last checks 🙊
This commit is contained in:
Lukas Reschke 2016-01-09 22:17:50 +01:00 committed by Morris Jobke
parent 53c4a55275
commit f4c04c5f28

View file

@ -172,8 +172,8 @@ $(document).ready(function(){
OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl), OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl),
OC.SetupChecks.checkSetup(), OC.SetupChecks.checkSetup(),
OC.SetupChecks.checkGeneric() OC.SetupChecks.checkGeneric()
).then(function(check1, check2, check3) { ).then(function(check1, check2, check3, check4, check5) {
var messages = [].concat(check1, check2, check3); var messages = [].concat(check1, check2, check3, check4, check5);
var $el = $('#postsetupchecks'); var $el = $('#postsetupchecks');
$el.find('.loading').addClass('hidden'); $el.find('.loading').addClass('hidden');