From a254da1d32e9d3c83c0e0830f988e61d01fe0793 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 21 Mar 2014 17:05:50 +0000 Subject: [PATCH] No "sort"/"perpage" events in the pub/sub queue. --- tools/htdocs/mkws.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() { -- 1.7.10.4