From 6de03508367656de57e37a2e5c266b46dd360a5e Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 1 Apr 2014 18:02:27 -0700 Subject: [PATCH] [ticket/12342] Fix the Custom Dates function in UCP Prefs Global Function was being called before dE() function exists, causing it to fail. Should be called when the page/window is ready. PHPBB3-12342 --- phpBB/styles/prosilver/template/ucp_prefs_personal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/template/ucp_prefs_personal.html b/phpBB/styles/prosilver/template/ucp_prefs_personal.html index 8111496dcb..a5b4852af8 100644 --- a/phpBB/styles/prosilver/template/ucp_prefs_personal.html +++ b/phpBB/styles/prosilver/template/ucp_prefs_personal.html @@ -117,7 +117,7 @@ } } - customDates(); + window.onload = customDates; // ]]>