Commit bd669a6d4f7c5769d29c05b9d16f5244c231999a
Exists in
master
Merge branch '2.5' of git@github.com:demoiselle/framework.git into 2.5
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/bookmark-edit.js
| ... | ... | @@ -48,7 +48,8 @@ function loadOk(data) { |
| 48 | 48 | function loadFailed(request) { |
| 49 | 49 | switch (request.status) { |
| 50 | 50 | case 404: |
| 51 | - console.log(request); | |
| 51 | + alert('Você está tentando acessar um registro inexistente.\r\nVocê será redirecionado.') | |
| 52 | + location.href = "bookmark-list.html"; | |
| 52 | 53 | break; |
| 53 | 54 | |
| 54 | 55 | default: | ... | ... |