From b9e0cd14725833a62e6905c5567e03060238dac0 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Wed, 16 Jan 2019 23:30:27 -0200 Subject: [PATCH] =?UTF-8?q?remove=20c=C3=B3digo=20antigo=20do=20jquery-mas?= =?UTF-8?q?k-plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/static/js/app.js | 13 ------------- sapl/templates/base.html | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/sapl/static/js/app.js b/sapl/static/js/app.js index 05aa2d4fc..fd013b393 100644 --- a/sapl/static/js/app.js +++ b/sapl/static/js/app.js @@ -38,18 +38,6 @@ function refreshDatePicker() { $('.dateinput').datepicker(); } -function refreshMask() { - $('.telefone').mask("(99) 9999-9999", {placeholder:"(__) ____ -____"}); - $('.cpf').mask("000.000.000-00", {placeholder:"___.___.___-__"}); - $('.cep').mask("00000-000", {placeholder:"_____-___"}); - $('.rg').mask("0.000.000", {placeholder:"_.___.___"}); - $('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"}); - $('.dateinput').mask('00/00/0000', {placeholder:"__/__/____"}); - $('.hora').mask("00:00", {placeholder:"hh:mm"}); - $('.hora_hms').mask("00:00:00", {placeholder:"hh:mm:ss"}); - $('.timeinput').mask("00:00:00", {placeholder:"hh:mm:ss"}); - $('.cronometro').mask("00:00:00", {placeholder:"hh:mm:ss"}); -} function OptionalCustomFrontEnd() { // Adaptações opcionais de layout com a presença de JS. @@ -124,7 +112,6 @@ function OptionalCustomFrontEnd() { $(document).ready(function(){ refreshDatePicker(); - refreshMask(); initTinymce("texto-rico"); //OptionalCustomFrontEnd(); diff --git a/sapl/templates/base.html b/sapl/templates/base.html index a009ec8ef..55a877645 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -250,7 +250,6 @@ - @@ -266,6 +265,7 @@ {# Incorporado em sapl-frontend#} + {% endcomment %}