Make delete dialog disappear on success. Fixes #3377
This commit is contained in:
parent
4351f51929
commit
c6eedd434c
|
@ -773,8 +773,9 @@ function manageDelConfirmModalBtns() {
|
|||
}
|
||||
|
||||
evt.preventDefault();
|
||||
$j.getJSON(thisUrl + '?request=events&task=delete&eids[]='+eventData.Id)
|
||||
$j.getJSON(thisUrl + '?request=event&task=delete&id='+eventData.Id)
|
||||
.done(function(data) {
|
||||
$j('#deleteConfirm').modal('hide');
|
||||
streamNext(true);
|
||||
})
|
||||
.fail(logAjaxFail);
|
||||
|
|
Loading…
Reference in New Issue