From: Mike Taylor Date: Fri, 21 Mar 2014 17:05:50 +0000 (+0000) Subject: No "sort"/"perpage" events in the pub/sub queue. X-Git-Tag: 1.0.0~1278 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=a254da1d32e9d3c83c0e0830f988e61d01fe0793 No "sort"/"perpage" events in the pub/sub queue. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index c06cde1..193a663 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -399,8 +399,10 @@ function widget($, team, type, node) { function promoteSort() { + // It seems this and the Perpage widget doen't need to + // subscribe to anything, since they produce events rather + // than consuming them. $(node).change(onSortChange); - team.queue("navi").subscribe(function() {}) function onSortChange() { @@ -415,7 +417,6 @@ function widget($, team, type, node) { function promotePerpage() { $(node).change(onPerpageChange); - team.queue("navi").subscribe(function() {}) function onPerpageChange() {