From 3745c37cc97b4e95f5dd4e7045af3d9582da1d92 Mon Sep 17 00:00:00 2001 From: anupsawant Date: Mon, 28 Mar 2011 19:01:35 +0000 Subject: [PATCH] NIHVIVO-2257 made a change in ingestUtils.js to check if primary and duplicate uris are same while using merge individuals tool. --- webapp/web/js/jenaIngest/ingestUtils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/web/js/jenaIngest/ingestUtils.js b/webapp/web/js/jenaIngest/ingestUtils.js index 4259daf4f..d50a5208d 100644 --- a/webapp/web/js/jenaIngest/ingestUtils.js +++ b/webapp/web/js/jenaIngest/ingestUtils.js @@ -13,6 +13,10 @@ $(document).ready(function(){ alert('Please enter a value for Individual URI 2.'); return false; } + if ($('#uri1').val() == $('#uri2').val()){ + alert('Primary and duplicate URI cannot be same.'); + return false; + } }); }); \ No newline at end of file