diff options
author | Christian Pointner <equinox@helsinki.at> | 2017-02-27 03:57:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2017-02-27 03:57:26 (GMT) |
commit | d94ed6d94676f259f4cda0f06cf27cc853a14bec (patch) | |
tree | a509aed133f910afb1c5bfc3bbd33d2fbc230b36 | |
parent | 6a987e5abe5e0301c5c54b84ecfc401a7c2fe9a9 (diff) |
stip off white spaces from external uris
-rw-r--r-- | www/js/importer.js | 2 |
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); |