Part of MKWS-64.
authorMike Taylor <mike@indexdata.com>
Sat, 2 May 2015 19:14:10 +0000 (20:14 +0100)
committerMike Taylor <mike@indexdata.com>
Sat, 2 May 2015 19:14:10 +0000 (20:14 +0100)
Handle changes in "size" state.

src/mkws-team.js

index 00e1f24..04d83e8 100644 (file)
@@ -129,6 +129,11 @@ mkws.makeTeam = function($, teamName) {
           if (that.submitted()) {
             that.reShow();
           }
+        } else if (key === 'size') {
+          that.set_perpage(val);
+          if (that.submitted()) {
+            that.reShow();
+          }
         }
       }
     }