No "sort"/"perpage" events in the pub/sub queue.
[mkws-moved-to-github.git] / tools / htdocs / mkws.js
index aced7e2..193a663 100644 (file)
@@ -399,7 +399,9 @@ function widget($, team, type, node) {
 
 
     function promoteSort() {
-       team.queue("navi").subscribe(function() {})
+       // 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);
 
        function onSortChange()
@@ -414,7 +416,6 @@ function widget($, team, type, node) {
 
 
     function promotePerpage() {
-       team.queue("navi").subscribe(function() {})
        $(node).change(onPerpageChange);
 
        function onPerpageChange()