projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac373f
)
No "sort"/"perpage" events in the pub/sub queue.
author
Mike Taylor
<mike@indexdata.com>
Fri, 21 Mar 2014 17:05:50 +0000
(17:05 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 21 Mar 2014 17:05:50 +0000
(17:05 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
c06cde1
..
193a663
100644
(file)
--- 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()
{