summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/importer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/importer.js b/www/js/importer.js
index 3aad373..85d9323 100644
--- a/www/js/importer.js
+++ b/www/js/importer.js
@@ -281,7 +281,7 @@ Rdxport.Importer.prototype.openModal = function(group, groupView, cartNumber, us
}).removeAttr('disabled');
function handleSource() {
- var sourceUri = $('.modal-body #sourceUri', self.$el).val();
+ var sourceUri = $('.modal-body #sourceUri', self.$el).val().trim();
var upload = new Rdxport.Upload(sourceUri, group, groupView, cartNumber, useMetadata);
upload.import();
self.uploads.push(upload);