X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=tools%2Fhtdocs%2Fmkws.js;h=e15f9eacb3bc7a71538902b11ecc81df17ae5032;hp=057b8ff6068bcbdf5ffd702d748757f83f4c51f4;hb=c5c7c61750ae3f164f8ee04c009b01283fbda269;hpb=5710282758daaa01312c510231168058e587b63d diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 057b8ff..e15f9ea 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -404,9 +404,10 @@ function widget($, team, type, node) { // than consuming them. $(node).change(function () { team.set_sortOrder($(node).val()); - if (!team.submitted()) return false; - team.resetPage(); - team.reShow(); + if (team.submitted()) { + team.resetPage(); + team.reShow(); + } return false; }); } @@ -415,9 +416,10 @@ function widget($, team, type, node) { function promotePerpage() { $(node).change(function() { team.set_perpage($(node).val()); - if (!team.submitted()) return false; - team.resetPage(); - team.reShow(); + if (team.submitted()) { + team.resetPage(); + team.reShow(); + } return false; }); }