diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 07:44:26 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 13:53:59 +0200 |
commit | 9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e (patch) | |
tree | c755177c3886de1498010820b9a547a5314c8d41 /core/js/update.js | |
parent | 8b38b601e5bd07559bb86d38132be31820c41627 (diff) | |
download | nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.tar.gz nextcloud-server-9af69ca2a5ed74acefdaedad6d189bdfd9e61e0e.zip |
Fix usage of deprecated OC.webroot
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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); }); |