diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/rivendell.rh.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/rivendell.rh.js b/www/js/rivendell.rh.js index ed37b51..f9487e4 100644 --- a/www/js/rivendell.rh.js +++ b/www/js/rivendell.rh.js @@ -34,13 +34,14 @@ Rivendell.Rivendell.prototype.listDropboxes = function(success) { return $.post(this.listDropboxesEndpoint, command, success, 'xml'); }; -Rivendell.Rivendell.prototype.addCut = function(cartNumber, filename, success) { +Rivendell.Rivendell.prototype.addCut = function(cartNumber, description, success) { var command = { COMMAND: 10, LOGIN_NAME: this.username, PASSWORD: this.token, CART_NUMBER: cartNumber, - DESCRIPTION: filename + DESCRIPTION: description + // todo: add more optionals }; return $.post(this.rdxportEndpoint, command, success, 'xml'); }; |