Commit 677a95581ac14399dff6d597ca97adc0bca6c46c
Committed by
Rafael Manzo
1 parent
771bfe3f
Exists in
master
and in
8 other branches
[Mezuro] Fixed pre-selected date on calendar
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/mezuro/views/mezuro_plugin_processing/_processing.rhtml
... | ... | @@ -28,7 +28,7 @@ |
28 | 28 | reloadProcessingWithDate(dateText) } }); |
29 | 29 | $("#datepicker").toggle(); |
30 | 30 | var date = jQuery("#current_processing_date").attr('data-date').substr(0,10); |
31 | - $("#datepicker").datepicker( "setDate" , date ); | |
31 | + $("#datepicker").datepicker( "setDate" , date.substr(5,2)+"/"+date.substr(8,2)+"/"+date.substr(0,4)); | |
32 | 32 | |
33 | 33 | }); |
34 | 34 | </script> | ... | ... |