Commit a6d77c7f by Kálmán Viktor

dashboard: show success message only once after mass delete

parent 9f8deb77
......@@ -116,8 +116,8 @@ function massDeleteVm() {
selected = []
$('.vm-list-group-control a').attr('disabled', true);
$(this).remove();
addMessage(data['message'], 'success');
});
});
addMessage(data['message'], 'success');
},
error: function(xhr, textStatus, error) {
// TODO this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment