From c9f18f08dd651cccb4c4cb10d9119e0189f65ce4 Mon Sep 17 00:00:00 2001
From: Peter Grassberger <petertheone@gmail.com>
Date: Thu, 3 Dec 2015 13:03:44 +0100
Subject: Rivendell.addCut: rename filename to description


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');
 };
-- 
cgit v0.10.2