From bf20021b628e5e00f825203ac37f4878f97a4a2e Mon Sep 17 00:00:00 2001
From: Bernhard Posselt <nukeawhale@gmail.com>
Date: Wed, 14 Nov 2012 23:55:37 +0100
Subject: [PATCH] instead of warning via popup, write to console.warn

---
 core/js/router.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/js/router.js b/core/js/router.js
index 02c8d11e69..406f1912fe 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)) {
-- 
GitLab