NIHVIVO-193 Position history form on page load.
This commit is contained in:
parent
7aad9c2154
commit
dd96daadad
2 changed files with 63 additions and 47 deletions
|
@ -158,7 +158,7 @@
|
|||
"newResource" : "false",
|
||||
"validators" : [ ],
|
||||
"optionsType" : "INDIVIDUALS_VIA_VCLASS",
|
||||
"literalOptions" : [ "--" ],
|
||||
"literalOptions" : [ "Select one" ],
|
||||
"predicateUri" : "",
|
||||
"objectClassUri" : "${organizationClass}",
|
||||
"rangeDatatypeUri" : "",
|
||||
|
@ -239,6 +239,10 @@
|
|||
<h2>${title}</h2>
|
||||
|
||||
<form action="<c:url value="/edit/processRdfForm2.jsp"/>" >
|
||||
<div id="orgNotListed">
|
||||
If your organization is not listed, please <a href="#">add a new organization</a>
|
||||
</div>
|
||||
|
||||
<div id="existingOrg">
|
||||
<v:input type="select" label="Organization" id="organizationUri" />
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
var personHasPositionHistory = {
|
||||
|
||||
onLoad: function() {
|
||||
$("#newOrg").hide();
|
||||
$("#position").hide();
|
||||
$("#submit").val("Continue");
|
||||
}
|
||||
};
|
||||
|
||||
$(document).ready(function(){
|
||||
personHasPositionHistory.onLoad();
|
||||
});
|
Loading…
Add table
Reference in a new issue