Skip to content

Commit

Permalink
don't show editing warning for save-as-new
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Burka committed Oct 3, 2020
1 parent 4cc0ae3 commit 0a8af07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/zoom/editable.js
Expand Up @@ -147,6 +147,12 @@ function editable() {
$('#update-nav').show();
});

$('#update-form [value="update"]').click(function() {
if ($('#registrants').length) {
return confirm('Warning! Editing a meeting will send emails to each registrant. Proceed?');
}
});

$('#reset-nav').click(function() {
$('.edit').each(function(idx, elem) {
// remove click handler
Expand Down

0 comments on commit 0a8af07

Please sign in to comment.