Commit 5c1eb2385e829fa8de32bb3e8fc0b3825f896b59
1 parent
784089f4
Exists in
master
and in
3 other branches
Enable institution CNPJ mask
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
public/views/create-institution.js
... | ... | @@ -263,7 +263,9 @@ modulejs.define('CreateInstitution', ['jquery', 'NoosferoRoot', 'SelectElement'] |
263 | 263 | |
264 | 264 | |
265 | 265 | function add_mask_to_form_items() { |
266 | -// $(".intitution_cnpj_field").mask("99.999.999/9999-99"); | |
266 | + if ($.mask) { | |
267 | + $("#institutions_cnpj").mask("99.999.999/9999-99"); | |
268 | + } | |
267 | 269 | } |
268 | 270 | |
269 | 271 | ... | ... |