Skip to content
Snippets Groups Projects
Commit bf20021b authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

instead of warning via popup, write to console.warn

parent ad87bc46
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment