summaryrefslogtreecommitdiff
path: root/www/js/router.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-05-07 00:14:45 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-05-07 00:14:45 (GMT)
commit0458e9929d687b571692e78d389ef9ab3f8ef4cd (patch)
tree025ed1620e6a1c4c7127b83eb128ccab1021b6d1 /www/js/router.js
parent8dd1c416db47a8689fb520db8785d109da6719ff (diff)
parent0c0c66adf29b6e3830b67b03a21b77dfb1cbfabf (diff)
Merge branch 'websocket'
Conflicts: www/js/apps.js www/js/auth.js
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/router.js b/www/js/router.js
index d9d070f..cfeaf23 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -52,7 +52,7 @@ Rdxport.Router.prototype.route = function(page, subpage) {
}
if (!importer) {
- importer = new Rdxport.Importer();
+ importer = new Rdxport.Importer(this.auth.username, this.auth.token);
window.onbeforeunload = function(event) {
if (importer.isUploading()) {
return 'Achtung: Es laufen noch imports.';