]> source.dussan.org Git - nextcloud-server.git/commitdiff
instead of warning via popup, write to console.warn
authorBernhard Posselt <nukeawhale@gmail.com>
Wed, 14 Nov 2012 22:55:37 +0000 (23:55 +0100)
committerBernhard Posselt <nukeawhale@gmail.com>
Thu, 15 Nov 2012 13:48:18 +0000 (14:48 +0100)
core/js/router.js

index 02c8d11e695c9be491adafdc31e937127d5e7982..406f1912fed427b36a6fb855ffcc137ba6fcc6ce 100644 (file)
@@ -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)) {