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:
parent
56fdae0f19
commit
c14d7889a5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue