From 359d9b6d292535710b111399595a0b186a03ac32 Mon Sep 17 00:00:00 2001 From: Cleverson Sacramento Date: Fri, 3 Oct 2014 07:15:07 -0300 Subject: [PATCH] Obtendo o nome do usuário pelo atributo padrão: id --- archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/menu.js b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/menu.js index c607049..b9db85c 100644 --- a/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/menu.js +++ b/archetype/html-rest/src/main/resources/archetype-resources/src/main/webapp/js/controller/menu.js @@ -10,5 +10,5 @@ $(function() { }); function getUserOk(data) { - $("#username").html(data.username); + $("#username").html(data.id); } -- libgit2 0.21.2