summaryrefslogtreecommitdiff
path: root/www/js/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js8
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;
}