2012-06-19 15:41:18 +02:00
|
|
|
(function($) { // Avoid conflicts with other libraries
|
|
|
|
|
|
|
|
$('#tz_date').change(function() {
|
|
|
|
phpbb.timezone_switch_date(false);
|
|
|
|
});
|
|
|
|
|
2012-06-18 10:53:47 +02:00
|
|
|
$('#tz_select_date_suggest').click(function(){
|
2012-06-19 15:41:18 +02:00
|
|
|
phpbb.timezone_preselect_select(true);
|
2012-06-18 10:53:47 +02:00
|
|
|
});
|
|
|
|
|
2012-06-19 15:41:18 +02:00
|
|
|
$(document).ready(
|
|
|
|
phpbb.timezone_enable_date_selection
|
|
|
|
);
|
|
|
|
|
|
|
|
$(document).ready(
|
|
|
|
phpbb.timezone_preselect_select($('#tz_select_date_suggest').attr('data-is-registration') == 'true')
|
|
|
|
);
|
2012-06-19 18:57:20 +02:00
|
|
|
|
|
|
|
})(jQuery); // Avoid conflicts with other libraries
|