diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/bookmark-edit.js b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/bookmark-edit.js index bc4706e..578aad2 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/bookmark-edit.js +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/bookmark-edit.js @@ -48,7 +48,8 @@ function loadOk(data) { function loadFailed(request) { switch (request.status) { case 404: - console.log(request); + alert('Você está tentando acessar um registro inexistente.\r\nVocê será redirecionado.') + location.href = "bookmark-list.html"; break; default: -- libgit2 0.21.2