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:
parent
cce0ab1464
commit
0995708b5b
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue