Buttons (select color) does not work after add a custom script for translate dat
-
Hi,
I added a script simply for translate the calendar jQuery and the buttons of Auto ThickBox Plus does not work.
Here the example of code jQuery:
jQuery(document).ready(function($){ $.datepicker.regional['pt'] = { closeText: 'Fechar', prevText: 'Anterior', nextText: 'Próximo', currentText: 'Hoje', monthNames: ['Janeiro','Fevereiro','Mar?o','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'], dayNames: ['Domingo','Segunda-Feira','Ter?a-Feira','Quarta-Feira','Quinta-Feira','Sexta-Feira','Sábado'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], weekHeader: 'KW', dateFormat: 'dd/mm/yy', firstDay: 1, isRTL: false, showMonthAfterYear: false, yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['pt']); });
This script is called by the function wp_enqueue_script().
Any idea how to fix this?
Thanks.
- The topic ‘Buttons (select color) does not work after add a custom script for translate dat’ is closed to new replies.