From 5bc0dbe9e1fd2197498261acd68578475f48de62 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 3 May 2016 15:32:22 -0300 Subject: [PATCH 1/2] Fix #381 --- static/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/app.js b/static/js/app.js index b6494b433..c09d88c1e 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -38,6 +38,7 @@ function refreshMask() { $('.cep').mask("00000-000", {placeholder:"_____-___"}); $('.rg').mask("0.000.000", {placeholder:"_.___.___"}); $('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"}); + $('.dateinput').mask('00/00/0000'); $('.hora').mask("00:00", {placeholder:"hh:mm"}); $('.hora_hms').mask("00:00:00", {placeholder:"hh:mm:ss"}); } From fc812205246eeac73194690755f911e18ac18308 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 3 May 2016 15:40:12 -0300 Subject: [PATCH 2/2] Adiciona placeholder --- static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index c09d88c1e..f1895ab0b 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -38,7 +38,7 @@ function refreshMask() { $('.cep').mask("00000-000", {placeholder:"_____-___"}); $('.rg').mask("0.000.000", {placeholder:"_.___.___"}); $('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"}); - $('.dateinput').mask('00/00/0000'); + $('.dateinput').mask('00/00/0000', {placeholder:"__/__/____"}); $('.hora').mask("00:00", {placeholder:"hh:mm"}); $('.hora_hms').mask("00:00:00", {placeholder:"hh:mm:ss"}); }