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:
a5db542
)
This should be that. And a semicolon.
author
Jason Skomorowski
<jason@indexdata.com>
Mon, 11 Aug 2014 15:01:30 +0000
(11:01 -0400)
committer
Jason Skomorowski
<jason@indexdata.com>
Mon, 11 Aug 2014 15:01:30 +0000
(11:01 -0400)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
9930775
..
1ea1835
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-96,7
+96,7
@@
mkws.registerWidgetType('Records', function() {
var hit = data.hits[i];
that.team.queue("record").publish(hit);
hit.detailLinkId = team.recordElementId(hit.recid[0]);
var hit = data.hits[i];
that.team.queue("record").publish(hit);
hit.detailLinkId = team.recordElementId(hit.recid[0]);
- hit.detailClick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;"
+ hit.detailClick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;";
hit.containerClass = "mkwsSummary mkwsTeam_" + team.name();
hit.containerClass += " " + hit.detailLinkId;
// ### At some point, we may be able to move the
hit.containerClass = "mkwsSummary mkwsTeam_" + team.name();
hit.containerClass += " " + hit.detailLinkId;
// ### At some point, we may be able to move the
@@
-347,8
+347,8
@@
mkws.registerWidgetType('Progress', function() {
var that = this;
this.node.hide();
this.team.queue("stat").subscribe(function(data) {
var that = this;
this.node.hide();
this.team.queue("stat").subscribe(function(data) {
- var template = this.team.loadTemplate(this.config.template || "Progress");
- this.node.html(template({
+ var template = that.team.loadTemplate(that.config.template || "Progress");
+ that.node.html(template({
done: data.clients - data.activeclients,
waiting: data.activeclients
}));
done: data.clients - data.activeclients,
waiting: data.activeclients
}));