1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/new-tz-handling] Add doc blocks to js functions

PHPBB3-9558
This commit is contained in:
Joas Schilling
2012-06-18 10:20:15 +02:00
parent 5441ee1ee4
commit 8d65f1f7d2
3 changed files with 36 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
/**
* Hide the optgroups that are not the selected timezone
*
* @param bool keep_selection Shall we keep the value selected, or shall the user be forced to repick one.
*/
function phpbb_switch_tz_date(keep_selection)
{
$('#timezone > optgroup').css("display", "none");
@@ -19,6 +24,9 @@ function phpbb_switch_tz_date(keep_selection)
}
}
/**
* Display the date/time select
*/
function phpbb_enable_tz_dates()
{
$('#tz_select_date').css("display", "block");