diff options
author | Peter Grassberger <petertheone@gmail.com> | 2015-12-03 12:03:44 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2015-12-03 12:03:44 (GMT) |
commit | c9f18f08dd651cccb4c4cb10d9119e0189f65ce4 (patch) | |
tree | d6869fcc36e168b38c36d6e2ebc44b0a5e1e4ed6 /www/js | |
parent | a288cee919f2360c97fd01bd7af7a1cf916db5e4 (diff) |
Rivendell.addCut: rename filename to description
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'); }; |