summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-09-28 15:30:47 +0200
committerGitHub <noreply@github.com>2018-09-28 15:30:47 +0200
commitb70d8d083288780304b3a29bce994faf23c4ef10 (patch)
tree3f16f0c3a9a8b34d379225afd7a3439f0a56344e
parent82a5732a13a13a7e2426689f444b2118b63e99e4 (diff)
parent5883695b1719bc698ecf0c009883004ab1acbcac (diff)
downloadnextcloud-server-b70d8d083288780304b3a29bce994faf23c4ef10.tar.gz
nextcloud-server-b70d8d083288780304b3a29bce994faf23c4ef10.zip
Merge pull request #11419 from nextcloud/stable13-11411-fix-checkWellKnownUrl-not-being-executed
[stable13] Fix "checkWellKnownUrl" not being run
-rw-r--r--settings/js/admin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 177f6d3f7f4..d545d8d370d 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -251,8 +251,8 @@ $(document).ready(function(){
// run setup checks then gather error messages
$.when(
OC.SetupChecks.checkWebDAV(),
- OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === 'true'),
- OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === 'true'),
+ OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
+ OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
OC.SetupChecks.checkSetup(),
OC.SetupChecks.checkGeneric(),
OC.SetupChecks.checkDataProtected()