Reload page on changes in sort options.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 20 Jun 2011 08:55:01 +0000 (10:55 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 20 Jun 2011 08:55:01 +0000 (10:55 +0200)
src/main/resources/templates/knownSones.html

index fde1060..ab36861 100644 (file)
@@ -13,6 +13,9 @@
                                        $("select[name=order]").val("asc");
                                } 
                        });
+                       $("#sort-options select").change(function() {
+                               this.form.submit();
+                       });
                });
        
        </script>