diff --git a/webapp/web/js/jenaIngest/ingestUtils.js b/webapp/web/js/jenaIngest/ingestUtils.js index d50a5208d..c2998172c 100644 --- a/webapp/web/js/jenaIngest/ingestUtils.js +++ b/webapp/web/js/jenaIngest/ingestUtils.js @@ -13,6 +13,12 @@ $(document).ready(function(){ alert('Please enter a value for Individual URI 2.'); return false; } + if (!$('#uri1').val().match(/\/$/)) { + $('#uri1').val($('#uri1').val() + "/"); + } + if (!$('#uri2').val().match(/\/$/)) { + $('#uri2').val($('#uri2').val() + "/"); + } if ($('#uri1').val() == $('#uri2').val()){ alert('Primary and duplicate URI cannot be same.'); return false;