From 6d802a2baa9d0763373aa98664683da2a59b0b5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 20 Jun 2011 10:55:01 +0200 Subject: [PATCH] Reload page on changes in sort options. --- src/main/resources/templates/knownSones.html | 3 +++ 1 file changed, 3 insertions(+) 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(); + }); }); -- 2.7.4