aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ucp_register.html
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-01-02 22:05:14 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-01-02 22:05:14 +0100
commite211009eb7f2c595fcc0b64a4f60e2bd08f13303 (patch)
tree0b40ff4ea04dbc905689011d1a5e77197a3915b0 /phpBB/styles/prosilver/template/ucp_register.html
parent208770d7fddefb7ac46dd63387bc8ab4a2724edd (diff)
downloadforums-e211009eb7f2c595fcc0b64a4f60e2bd08f13303.tar
forums-e211009eb7f2c595fcc0b64a4f60e2bd08f13303.tar.gz
forums-e211009eb7f2c595fcc0b64a4f60e2bd08f13303.tar.bz2
forums-e211009eb7f2c595fcc0b64a4f60e2bd08f13303.tar.xz
forums-e211009eb7f2c595fcc0b64a4f60e2bd08f13303.zip
[ticket/11302] Correctly select first timezone or selected timezone
While registering, we should default to a given timezone. By selecting the first timezone by default, this is fulfilled. This doesn't happen currently, as only the "Select a timezone" selection appears. If a user selects a timezone during the registration process we should also make sure that the selected element is still selected; even if we have to return to the registration page, i.e. if there was an error while submitting the form. This is currently not the case. With this patch the javascript code will behave correctly. Additionally, a duplicate inclusion of timezone.js has been removed as it was not needed. PHPBB3-11302
Diffstat (limited to 'phpBB/styles/prosilver/template/ucp_register.html')
-rw-r--r--phpBB/styles/prosilver/template/ucp_register.html3
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html
index 47537e9d8b..db95e5ba13 100644
--- a/phpBB/styles/prosilver/template/ucp_register.html
+++ b/phpBB/styles/prosilver/template/ucp_register.html
@@ -104,7 +104,4 @@
</div>
</form>
-<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/timezone.js"></script>
-<script type="text/javascript">phpbb_preselect_tz_select();</script>
-
<!-- INCLUDE overall_footer.html -->