diff options
Diffstat (limited to 'www/js/jingles.js')
-rw-r--r-- | www/js/jingles.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/www/js/jingles.js b/www/js/jingles.js index 13df2bf..6a1f114 100644 --- a/www/js/jingles.js +++ b/www/js/jingles.js @@ -450,9 +450,8 @@ Importer.prototype.importFileUploadError = function(dz, file, msg, xhr) { }; Importer.prototype.importAddCut = function(dz, file) { - // todo: set additional parameters like DESCRIPTION here, when patch has been applied. var cart = this.currentGroup.mainCart; - rivendell.addCut(cart.number, function(cutXml) { + rivendell.addCut(cart.number, file.name, function(cutXml) { var cutNumber = $(cutXml).find('cutNumber').text(); dz.on('sending', function(file, xhr, formData) { formData.append('COMMAND', 2); |