Browse Source

Merge pull request #382 from interlegis/381-adiciona-mascara-data

Fix #381
pull/384/head
Marcio Mazza 9 years ago
parent
commit
f3fa8c1111
  1. 1
      static/js/app.js

1
static/js/app.js

@ -38,6 +38,7 @@ function refreshMask() {
$('.cep').mask("00000-000", {placeholder:"_____-___"}); $('.cep').mask("00000-000", {placeholder:"_____-___"});
$('.rg').mask("0.000.000", {placeholder:"_.___.___"}); $('.rg').mask("0.000.000", {placeholder:"_.___.___"});
$('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"}); $('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"});
$('.dateinput').mask('00/00/0000', {placeholder:"__/__/____"});
$('.hora').mask("00:00", {placeholder:"hh:mm"}); $('.hora').mask("00:00", {placeholder:"hh:mm"});
$('.hora_hms').mask("00:00:00", {placeholder:"hh:mm:ss"}); $('.hora_hms').mask("00:00:00", {placeholder:"hh:mm:ss"});
} }

Loading…
Cancel
Save