From d94ed6d94676f259f4cda0f06cf27cc853a14bec Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 27 Feb 2017 04:57:26 +0100 Subject: stip off white spaces from external uris 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); -- cgit v0.10.2