From 5c89f6db7ce374c386ff9b22c60831885995b087 Mon Sep 17 00:00:00 2001 From: VictorFabreF Date: Mon, 29 Jan 2018 12:48:45 -0200 Subject: [PATCH] =?UTF-8?q?HOT=20FIX:=20limita=20caracteres=20no=20painel?= =?UTF-8?q?=20de=20vota=C3=A7=C3=A3o=20(#1681)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/painel/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/templates/painel/index.html b/sapl/templates/painel/index.html index febfb06d5..505d2c8f5 100644 --- a/sapl/templates/painel/index.html +++ b/sapl/templates/painel/index.html @@ -337,7 +337,7 @@ if (data['observacao_materia']){ var texto = data['observacao_materia']; if(texto.length > 151) { - $("#observacao_materia").text(texto.substr(0, 150)); + $("#observacao_materia").text(texto.substr(0, 145).concat('(...)')); } else{ $("#observacao_materia").text(texto);