summaryrefslogtreecommitdiff
path: root/www/js/rivendell.rh.js
diff options
context:
space:
mode:
authorPeter Grassberger <petertheone@gmail.com>2015-12-28 12:27:07 (GMT)
committerPeter Grassberger <petertheone@gmail.com>2015-12-28 12:27:07 (GMT)
commitcb39c5af79db63c721123d9f488eda0d9c4fda63 (patch)
treeb93b8893de09ccd7df81b970a2923a361c94b582 /www/js/rivendell.rh.js
parent17d6568c4da2901e083770d3a6f683d3d98ff488 (diff)
client uses type to filter dropboxes
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');
};