Commit 2b9622da authored by miferreiro's avatar miferreiro

Adds an error message when person delete is not posible

When the frontend tries to delte a person and the request fails a message is shown to notify the user.
parent 05f35f4c
......@@ -103,7 +103,9 @@ var PeopleView = (function() {
$('tr#person-' + id).remove();
self.resetForm();
},
showErrorMessage
function() {
alert('No ha sido posible eliminar a la persona seleccionada.');
}
);
}
};
......
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 to comment