aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-06-18 10:20:15 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-06-18 15:10:04 +0200
commit8d65f1f7d263d9f6e76cbac2765da02a0877c87f (patch)
tree6f8f42d997d193c76ca8bb19c78793a2f0be31a1 /phpBB/adm
parent5441ee1ee489ef9ad1727f110c440dde5417cc1f (diff)
downloadforums-8d65f1f7d263d9f6e76cbac2765da02a0877c87f.tar
forums-8d65f1f7d263d9f6e76cbac2765da02a0877c87f.tar.gz
forums-8d65f1f7d263d9f6e76cbac2765da02a0877c87f.tar.bz2
forums-8d65f1f7d263d9f6e76cbac2765da02a0877c87f.tar.xz
forums-8d65f1f7d263d9f6e76cbac2765da02a0877c87f.zip
[feature/new-tz-handling] Add doc blocks to js functions
PHPBB3-9558
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/timezone.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/adm/style/timezone.js b/phpBB/adm/style/timezone.js
index a1ffeb17c5..d1667699da 100644
--- a/phpBB/adm/style/timezone.js
+++ b/phpBB/adm/style/timezone.js
@@ -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");