Delete confirmation
This commit is contained in:
1 parent
3f82d43de8
commit
c43b03fedb
2 files changed
+4
No files matched your search
@@ -273,11 +273,13 @@
|
||||
};
|
||||
});
|
||||
function success(res){
|
||||
var checked_formatted = _.map(delete_these, function(el) { return el.destination; }).join(', ');
|
||||
checked.closest('tr').remove();
|
||||
/* remove list if no more rows */
|
||||
if(list_el.find('.alias-row').length === 0) {
|
||||
list_el.remove();
|
||||
}
|
||||
notify('Slettet', checked_formatted, 'success');
|
||||
}
|
||||
function error(res) {
|
||||
notify('Kunne ikke slette', res.detail, 'error');
|
||||
|
||||
+2
@@ -273,11 +273,13 @@
|
||||
};
|
||||
});
|
||||
function success(res){
|
||||
var checked_formatted = _.map(delete_these, function(el) { return el.destination; }).join(', ');
|
||||
checked.closest('tr').remove();
|
||||
/* remove list if no more rows */
|
||||
if(list_el.find('.alias-row').length === 0) {
|
||||
list_el.remove();
|
||||
}
|
||||
notify('Slettet', checked_formatted, 'success');
|
||||
}
|
||||
function error(res) {
|
||||
notify('Kunne ikke slette', res.detail, 'error');
|
||||
|
||||
Reference in new issue
Block a user