summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2016-02-05 00:07:47 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2016-02-05 00:07:47 (GMT)
commitca488f8d3609500b89b95c6c2ff6c533e62a7aea (patch)
tree746431dd97ede28079c87a3951153a0c5fb114e1 /www/js/auth.js
parentee29206687484d49df4c77bd4d634080f1c7dca4 (diff)
rename rivendell.js to rdxport.js
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/auth.js b/www/js/auth.js
index c9fe52e..df09ce6 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -39,7 +39,7 @@ function auth_loginSuccess(data) {
sessionStorage.setItem("auth_token", auth_token);
// todo: do this at a central place
- rivendell = new Rivendell.Rivendell(auth_username, auth_token, '/rd-bin/rdxport.cgi');
+ rivendell = new Rivendell.Rdxport(auth_username, auth_token, '/rd-bin/rdxport.cgi');
rivendell.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi');
rivendell.setMusicgridEndpoint('/rh-bin/musicgrid.cgi');
@@ -89,7 +89,7 @@ function auth_init() {
$("#loginform").submit(function(event) {
event.preventDefault();
- Rivendell.Rivendell.authLogin(
+ Rivendell.Rdxport.authLogin(
'/rh-bin/authtoken.json',
$("#username").val(),
$("#password").val(),