Skip to content

Commit

Permalink
Fix deleting meetings via the UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 8, 2016
1 parent 6e02f5d commit 812d030
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/kronolith.js
Expand Up @@ -4563,14 +4563,16 @@ KronolithCore = {
$('kronolithRecurDeleteCurrent').enable();
$('kronolithRecurDeleteFuture').enable();
$('kronolithCancellationDiv').hide();
this.delete_verified = true;
case 'kronolithEventDelete':
if (Kronolith.conf.confirm_delete || this.recurs) {
if ((Kronolith.conf.confirm_delete || this.recurs) && !$this.delete_verified) {
$('kronolithEventDiv').hide();
$('kronolithDeleteDiv').show();
e.stop();
break;
} else {
$('kronolithEventDiv').hide();
this.delete_verified = false;
}
// Fallthrough
case 'kronolithRecurDeleteAll':
Expand Down

0 comments on commit 812d030

Please sign in to comment.