summaryrefslogtreecommitdiffstats
path: root/core/js/update.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/update.js')
-rw-r--r--core/js/update.js2
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);
});