NIHVIVO-3130 NIHVIVO-3089 ingest tools fixes and improvements
This commit is contained in:
parent
4d8206b018
commit
f5e1661f9a
22 changed files with 331 additions and 309 deletions
|
@ -1,28 +0,0 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#takeuri').submit(function() {
|
||||
if ($('#uri1').val() == '') {
|
||||
alert('Please enter a value for Individual URI 1.');
|
||||
return false;
|
||||
}
|
||||
if ($('#uri2').val() == '') {
|
||||
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;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
|
@ -1,14 +0,0 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
$('#takeuri').submit(function() {
|
||||
if ($('#namespace').val() == '') {
|
||||
alert('Please enter URI prefix.');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue