Skip to content

Commit

Permalink
SAK-42662 - Prevent double click issues (sakaiproject#7496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm authored and Miguel Pellicer committed Oct 29, 2019
1 parent 96fc5b8 commit cd933ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions signup/tool/src/bundle/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ event.unavailable = Full
event.youOnWaitList = On Wait List
event.youSignedUp = Signed up

event.data_sync_error = An unknown error occurred creating this entry. You should retry you action or cancel from this screen and try again.

event_addSignup_attendee_page_title = Complete Sign-Up

event_add_attendee =  Add Participant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,13 @@ public void validateTimeslots(ActionEvent e) {
if (isoStartTime == null && isoEndTime == null) {
while (isoStartTime == null) {
position++;
if (position > params.size()) {
this.validationError = true;
tsWrp.setErrorStyle(this.errorStyleValue);
Utilities.addErrorMessage(MessageFormat.format(Utilities.rb
.getString("event.data_sync_error"), i));
return;
}
isoStartTime = params.get((position - 1) + HIDDEN_ISO_STARTTIME);
isoEndTime = params.get((position - 1) + HIDDEN_ISO_ENDTIME);
}
Expand Down

0 comments on commit cd933ab

Please sign in to comment.