summaryrefslogtreecommitdiff
path: root/www/js/rivendell.rh.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/rivendell.rh.js')
-rw-r--r--www/js/rivendell.rh.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/rivendell.rh.js b/www/js/rivendell.rh.js
index 25891f2..7f92222 100644
--- a/www/js/rivendell.rh.js
+++ b/www/js/rivendell.rh.js
@@ -29,10 +29,11 @@ Rivendell.Rivendell.prototype.setMusicgridEndpoint = function(musicgridEndpoint)
this.musicgridEndpoint = musicgridEndpoint;
};
-Rivendell.Rivendell.prototype.listDropboxes = function(success) {
+Rivendell.Rivendell.prototype.listDropboxes = function(type, success) {
var command = {
LOGIN_NAME: this.username,
- PASSWORD: this.token
+ PASSWORD: this.token,
+ TYPE: type
};
return $.post(this.listDropboxesEndpoint, command, success, 'xml');
};