Quelques corrections
AddConference marche
This commit is contained in:
@@ -74,15 +74,6 @@ function clearPerson() {
|
||||
dwr.util.setValues({ id:-1, label:null, min:null, max:null });
|
||||
}
|
||||
|
||||
function submitIfNotEnter(theForm){
|
||||
if(theForm.elements["submit"] || theForm.elements["submit"]){
|
||||
return true;
|
||||
} else {
|
||||
writePerson();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
@@ -114,6 +105,7 @@ function submitIfNotEnter(theForm){
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
|
||||
<br />
|
||||
@@ -141,8 +133,8 @@ function submitIfNotEnter(theForm){
|
||||
|
||||
<br />
|
||||
|
||||
<input type="submit" align="middle" name="_target2" value="Back" onclick="this.form.elements['submit']=true">
|
||||
<input type="submit" align="middle" name="_target4" value="Next" onclick="this.form.elements['submit']=true" />
|
||||
<input type="submit" align="middle" name="_target2" value="Back">
|
||||
<input type="submit" align="middle" name="_target4" value="Next"/>
|
||||
|
||||
|
||||
</form:form>
|
||||
|
||||
@@ -72,6 +72,15 @@ function addPerson(eleid) {
|
||||
dwr.engine.endBatch();
|
||||
}
|
||||
|
||||
function addInvitation() {
|
||||
var email = $("emailAddress").value;
|
||||
dwr.engine.beginBatch();
|
||||
AddCriteriaJS.addInvitation(email);
|
||||
fillTable();
|
||||
fillTable2();
|
||||
dwr.engine.endBatch();
|
||||
}
|
||||
|
||||
function deletePerson(eleid) {
|
||||
var person = peopleCache[eleid.substring(11)];
|
||||
if (confirm("Are you sure you want to delete " + person.name + "?")) {
|
||||
@@ -114,8 +123,8 @@ function filterUser(el, value) {
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Add a new member <br />
|
||||
Mail: <input id="mail" type="text" />
|
||||
<fmt:message key="pcmember.invitation.promptMessage"/> <br/>
|
||||
Mail: <input id="emailAddress" type="text"/> <input type="button" name="invitationEmail" onclick="addInvitation()"/>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user