summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/router.js b/core/js/router.js
index 02c8d11e695..406f1912fed 100644
--- a/core/js/router.js
+++ b/core/js/router.js
@@ -24,7 +24,7 @@ OC.Router = {
generate:function(name, opt_params) {
if (!('routes' in this)) {
if(this.routes_request.state() != 'resolved') {
- alert('To avoid race conditions, please register a callback');// wait
+ console.warn('To avoid race conditions, please register a callback');// wait
}
}
if (!(name in this.routes)) {