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 072d181f79
commit 82a4cbaec5
1 changed files with 2 additions and 1 deletions

View File

@ -773,8 +773,9 @@ function manageDelConfirmModalBtns() {
return;
}
pauseClicked();
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) {
$j('#deleteConfirm').modal('hide');
streamNext(true);