From 6030546339d517a88eac59a8d4fe920359a7f1d1 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Sat, 2 May 2015 20:07:07 +0100 Subject: [PATCH] Handle changes in "sort" state. --- src/mkws-team.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mkws-team.js b/src/mkws-team.js index ad6bdd3..00e1f24 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -124,6 +124,11 @@ mkws.makeTeam = function($, teamName) { " -> '" + val + "'"); if (key === 'page') { that.showPage(parseInt(val)); + } else if (key === 'sort') { + that.set_sortOrder(val); + if (that.submitted()) { + that.reShow(); + } } } } -- 1.7.10.4