NIHVIVO-725 Add VClassGroup type to SelectListGenerator in order to generate a select list of all classes belonging to publication classgroup for publication custom form.
This commit is contained in:
parent
f208d72d10
commit
e972fd5549
3 changed files with 64 additions and 21 deletions
|
@ -1,23 +1,9 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
function validate_upload_file(form_passed) {
|
||||
|
||||
var msg="";
|
||||
function validate_upload_file(form_passed){
|
||||
|
||||
if (form_passed.datafile.value == "") msg += "Please browse and select a photo\n";
|
||||
|
||||
|
||||
if (msg == "") {
|
||||
|
||||
document.form_upload_image.submit();
|
||||
|
||||
|
||||
} else{
|
||||
|
||||
alert(msg);
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
if (form_passed.datafile.value == "") {
|
||||
alert ("Please browse and select a photo");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue