Commit ca63a7cbd45a1709ec0e3f44a8c4bbe7418a439d
1 parent
ea275e51
Exists in
master
Corrigido erro JS.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ieducar/lib/Portabilis/View/Helper/Input/Numeric.php
@@ -46,7 +46,7 @@ class Portabilis_View_Helper_Input_Numeric extends Portabilis_View_Helper_Input_ | @@ -46,7 +46,7 @@ class Portabilis_View_Helper_Input_Numeric extends Portabilis_View_Helper_Input_ | ||
46 | 46 | ||
47 | protected function fixupValidation($inputOptions) { | 47 | protected function fixupValidation($inputOptions) { |
48 | // fixup para remover caracteres não numericos | 48 | // fixup para remover caracteres não numericos |
49 | - $js = " \$j(#'" . $inputOptions['id'] . "').keyup(function(){ | 49 | + $js = " \$j('#" . $inputOptions['id'] . "').keyup(function(){ |
50 | var oldValue = this.value; | 50 | var oldValue = this.value; |
51 | this.value = this.value.replace(/[^0-9\.]/g, ''); | 51 | this.value = this.value.replace(/[^0-9\.]/g, ''); |
52 | 52 |