Commit 6bbdf414 authored by Administrator's avatar Administrator

Adds an error message when people list is not accessible

When the frontend tries to recover people list and the request fails a
message is shown to notify the user.
parent 408c4203
......@@ -5,7 +5,7 @@
<groupId>es.uvigo.esei.daa</groupId>
<artifactId>example</artifactId>
<packaging>war</packaging>
<version>0.1.11</version>
<version>0.1.12</version>
<name>DAA Example</name>
<licenses>
......
......@@ -21,6 +21,9 @@ var PeopleView = (function() {
$.each(people, function(key, person) {
appendToTable(person);
});
},
function() {
alert('No has sido posible acceder al listado de personas.');
});
// La acción por defecto de enviar formulario (submit) se sobreescribe
......
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