diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-09 14:47:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 14:47:14 +0200 |
commit | dcf5a57d01eb8111127867c550d2614842e5a30e (patch) | |
tree | db213177167930f6e00c234aec893d4692a04016 /core/js/update.js | |
parent | 7e7a14cc9acc697d767cb078f2a30a408f0e8cf3 (diff) | |
parent | 9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (diff) | |
download | nextcloud-server-dcf5a57d01eb8111127867c550d2614842e5a30e.tar.gz nextcloud-server-dcf5a57d01eb8111127867c550d2614842e5a30e.zip |
Merge pull request #11691 from nextcloud/refactor/fix-usage-deprecated-oc-webroot
Fix usage of deprecated OC.webroot
Diffstat (limited to 'core/js/update.js')
-rw-r--r-- | core/js/update.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/update.js b/core/js/update.js index eb65336229e..842f85c2f18 100644 --- a/core/js/update.js +++ b/core/js/update.js @@ -41,7 +41,7 @@ }) ); - var updateEventSource = new OC.EventSource(OC.webroot+'/core/ajax/update.php'); + var updateEventSource = new OC.EventSource(OC.getRootPath()+'/core/ajax/update.php'); updateEventSource.listen('success', function(message) { self.setMessage(message); }); |