diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-06-27 09:19:03 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-06-27 09:19:03 (GMT) |
commit | 645b1f816310120efc16c813535b718f3eff3e02 (patch) | |
tree | 8d78a73bfb8e8e91eeeea8f1c5d717239da28c75 /www/js/router.js | |
parent | 222b85597fa66af43c68f0b88d68f2641533f52c (diff) |
remove old upload functionality, fix progressbar
Diffstat (limited to 'www/js/router.js')
-rw-r--r-- | www/js/router.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/js/router.js b/www/js/router.js index cfeaf23..f442e9e 100644 --- a/www/js/router.js +++ b/www/js/router.js @@ -47,15 +47,15 @@ Rdxport.Router.prototype.route = function(page, subpage) { return; } if (importer && importer.isUploading()) { - alert('Achtung: Es laufen noch imports.'); + //alert('Achtung: Es laufen noch imports.'); return; } if (!importer) { - importer = new Rdxport.Importer(this.auth.username, this.auth.token); + importer = new Rdxport.Importer(this.auth.username, this.auth.token, 'wss://import.helsinki.at/rhimportd'); window.onbeforeunload = function(event) { if (importer.isUploading()) { - return 'Achtung: Es laufen noch imports.'; + //return 'Achtung: Es laufen noch imports.'; } }; } @@ -134,7 +134,7 @@ Rdxport.Router.prototype.login = function() { Rdxport.Router.prototype.logout = function() { if (importer && importer.isUploading()) { - alert('Achtung: Es laufen noch imports.'); + //alert('Achtung: Es laufen noch imports.'); return; } |