]> ruin.nu Git - ndwebbie.git/commitdiff
Update timezone field when switching category.
authorMichael Andreen <harv@ruin.nu>
Tue, 13 Jan 2009 21:26:48 +0000 (22:26 +0100)
committerMichael Andreen <harv@ruin.nu>
Tue, 13 Jan 2009 21:26:48 +0000 (22:26 +0100)
Improves usability for users in the first country being listed.

root/src/settings/index.tt2

index c2a88ce8eb5a71ae017a91dfaf556c4ba8b2e883..4e1c96f833135b08ff7f97a8236f46c53c7452d4 100644 (file)
@@ -63,6 +63,7 @@ $(document).ready(function(){
                                        $("#tzcountry").append(opt);
                                        opt.attr('value',$(this).text()).text($(this).text());
                                });
+                               $("#tzcountry").change();
                        });
                }
        });