diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-11-14 23:55:37 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-11-15 14:48:18 +0100 |
commit | bf20021b628e5e00f825203ac37f4878f97a4a2e (patch) | |
tree | 0d0e25a33ab8aff898c72eeedd621820e2b3aed7 /core/js | |
parent | ad87bc464524ee99e2f19eae8c2f8adf570456d9 (diff) | |
download | nextcloud-server-bf20021b628e5e00f825203ac37f4878f97a4a2e.tar.gz nextcloud-server-bf20021b628e5e00f825203ac37f4878f97a4a2e.zip |
instead of warning via popup, write to console.warn
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/router.js | 2 |
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)) { |