Commit 1ca30f086693a126969b0c2355b3ab1f57681dfe

Authored by Danilo Costa Viana
1 parent 02b5874d
Exists in master

[FWK-231] Corrigido problema que fazia a tela de logon não redirecionar

para a tela de título após um logon com sucesso se a tela de logon fosse
a primeira a ser acessada após entrar no sistema.
archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/lib/app.js
@@ -4,7 +4,7 @@ var App = { @@ -4,7 +4,7 @@ var App = {
4 4
5 restoreSavedLocation : function() { 5 restoreSavedLocation : function() {
6 var url = sessionStorage.getItem(this.savedLocationKey); 6 var url = sessionStorage.getItem(this.savedLocationKey);
7 - location.href = (url ? url : ""); 7 + location.href = (url ? url : "index.html");
8 }, 8 },
9 9
10 saveLocation : function(url) { 10 saveLocation : function(url) {