Use ajax request instead of webui to delete events. The reason is that the web ui will spit out the events view after performing the action. Without a filter it will try to list every event.

This commit is contained in:
Isaac Connor 2020-08-31 10:37:03 -04:00
parent cce0ab1464
commit 0995708b5b
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function initPage() {
var selections = getIdSelections(); var selections = getIdSelections();
evt.preventDefault(); evt.preventDefault();
$j.getJSON(thisUrl + '?view=events&action=delete&eids[]='+selections.join('&eids[]=')); $j.getJSON(thisUrl + '?request=events&action=delete&eids[]='+selections.join('&eids[]='));
window.location.reload(true); window.location.reload(true);
}); });