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:
de3df79
)
Set the "record" callback whenever "records" is subscribed, since the
author
Mike Taylor
<mike@indexdata.com>
Tue, 7 Oct 2014 16:57:35 +0000
(17:57 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 7 Oct 2014 16:57:35 +0000
(17:57 +0100)
former only gets subscribed from the latter's callback.
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
8a73211
..
0879add
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-179,8
+179,7
@@
mkws.makeTeam = function($, teamName) {
if (m_queues.records) {
log("setting show callback");
params.onshow = onShow;
- }
- if (m_queues.record) {
+ // Record callback is subscribed from records callback
log("setting record callback");
params.onrecord = onRecord;
}