diff options
Diffstat (limited to 'www/js/auth.js')
-rw-r--r-- | www/js/auth.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/auth.js b/www/js/auth.js index 77d7f53..d01b70d 100644 --- a/www/js/auth.js +++ b/www/js/auth.js @@ -22,7 +22,7 @@ 'use strict'; -var Rivendell = Rivendell || {}; +var Rdxport = Rdxport || {}; var auth_username = null; var auth_fullname = null; @@ -39,7 +39,7 @@ function auth_loginSuccess(data) { sessionStorage.setItem("auth_token", auth_token); // todo: do this at a central place - rdxport = new Rivendell.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi'); + rdxport = new Rdxport.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi'); rdxport.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi'); rdxport.setMusicgridEndpoint('/rh-bin/musicgrid.cgi'); @@ -94,7 +94,7 @@ function auth_init() { $("#loginform").submit(function(event) { event.preventDefault(); - Rivendell.Rdxport.authLogin( + Rdxport.Rdxport.authLogin( '/rh-bin/authtoken.json', $("#username").val(), $("#password").val(), |