From: David ‘Bombe’ Roden Date: Mon, 20 Jun 2011 08:55:01 +0000 (+0200) Subject: Reload page on changes in sort options. X-Git-Tag: 0.6.6^2~68 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6d802a2baa9d0763373aa98664683da2a59b0b5a;p=Sone.git Reload page on changes in sort options. --- diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index fde1060..ab36861 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -13,6 +13,9 @@ $("select[name=order]").val("asc"); } }); + $("#sort-options select").change(function() { + this.form.submit(); + }); });