diff options
Diffstat (limited to 'www/js/importer.js')
-rw-r--r-- | www/js/importer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/importer.js b/www/js/importer.js index c17c953..ab702e5 100644 --- a/www/js/importer.js +++ b/www/js/importer.js @@ -114,7 +114,7 @@ Rivendell.Importer.prototype.importCartConfirm = function(dropzone, group, group });*/ if (createCart) { - rivendell.addCart(group.groupName, 'audio', null, function(cartXML) { + rdxport.addCart(group.groupName, 'audio', null, function(cartXML) { var cart = new Rivendell.Cart(cartXML, group); self.importAddCut(dropzone, group, files[0], createCart, cart, useMetadata); }); @@ -147,7 +147,7 @@ Rivendell.Importer.prototype.importFileUploadError = function(dropzone, file, ms }; Rivendell.Importer.prototype.importAddCut = function(dropzone, group, file, createCart, cart, useMetadata) { - rivendell.addAndEditCut(cart.number, {DESCRIPTION: file.name}, function(cutXml) { + rdxport.addAndEditCut(cart.number, {DESCRIPTION: file.name}, function(cutXml) { group.fetchCarts(); dropzone.on('sending', function(file, xhr, formData) { var cutNumber = $('cutNumber', cutXml).text(); @@ -179,7 +179,7 @@ Rivendell.Importer.prototype.importAddCut = function(dropzone, group, file, crea }).fail(function(xhr, status, err) { self.importFileUploadError(dropzone, file, err, xhr); if (createCart) { - rivendell.removeCart(cart.number); + rdxport.removeCart(cart.number); } }); }; |