NIHVIVO-2257 made a change in ingestUtils.js to check if primary and duplicate uris are same while using merge individuals tool.

This commit is contained in:
anupsawant 2011-03-28 19:01:35 +00:00
parent 445721f066
commit 3745c37cc9

View file

@ -13,6 +13,10 @@ $(document).ready(function(){
alert('Please enter a value for Individual URI 2.'); alert('Please enter a value for Individual URI 2.');
return false; return false;
} }
if ($('#uri1').val() == $('#uri2').val()){
alert('Primary and duplicate URI cannot be same.');
return false;
}
}); });
}); });