summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/auth.js b/www/js/auth.js
index df09ce6..aee8502 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -39,9 +39,9 @@ function auth_loginSuccess(data) {
sessionStorage.setItem("auth_token", auth_token);
// todo: do this at a central place
- rivendell = new Rivendell.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi');
- rivendell.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi');
- rivendell.setMusicgridEndpoint('/rh-bin/musicgrid.cgi');
+ rdxport = new Rivendell.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi');
+ rdxport.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi');
+ rdxport.setMusicgridEndpoint('/rh-bin/musicgrid.cgi');
apps_select(apps_current);