Fix task=>action so that deleting works. Pause streaming before delete to prevent errors being logged due to missing files

This commit is contained in:
Isaac Connor 2021-11-29 13:48:44 -05:00
parent 56fdae0f19
commit c14d7889a5
1 changed files with 2 additions and 1 deletions

View File

@ -773,8 +773,9 @@ function manageDelConfirmModalBtns() {
return; return;
} }
pauseClicked();
evt.preventDefault(); evt.preventDefault();
$j.getJSON(thisUrl + '?request=event&task=delete&id='+eventData.Id) $j.getJSON(thisUrl + '?request=event&action=delete&id='+eventData.Id)
.done(function(data) { .done(function(data) {
$j('#deleteConfirm').modal('hide'); $j('#deleteConfirm').modal('hide');
streamNext(true); streamNext(true);