diff options
Diffstat (limited to 'www/js/apps.js')
-rw-r--r-- | www/js/apps.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/apps.js b/www/js/apps.js index 1c04526..ab5d4b9 100644 --- a/www/js/apps.js +++ b/www/js/apps.js @@ -101,7 +101,7 @@ function apps_init() { if(auth_token && auth_username) { // 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'); @@ -111,7 +111,7 @@ function apps_init() { $(window).on('popstate', function(event) { if(auth_token && auth_username) { // 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'); |