From: Michael Andreen Date: Tue, 13 Jan 2009 21:26:48 +0000 (+0100) Subject: Update timezone field when switching category. X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=6867746786c828ba3bbbb8bcdf8709189efeeb1a Update timezone field when switching category. Improves usability for users in the first country being listed. --- diff --git a/root/src/settings/index.tt2 b/root/src/settings/index.tt2 index c2a88ce..4e1c96f 100644 --- a/root/src/settings/index.tt2 +++ b/root/src/settings/index.tt2 @@ -63,6 +63,7 @@ $(document).ready(function(){ $("#tzcountry").append(opt); opt.attr('value',$(this).text()).text($(this).text()); }); + $("#tzcountry").change(); }); } });