projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/mkws
[mkws-moved-to-github.git]
/
src
/
mkws-widget-record.js
diff --git
a/src/mkws-widget-record.js
b/src/mkws-widget-record.js
index
2f913c6
..
044d574
100644
(file)
--- a/
src/mkws-widget-record.js
+++ b/
src/mkws-widget-record.js
@@
-4,7
+4,7
@@
mkws.registerWidgetType('record', function() {
var that = this;
var team = this.team;
team.queue("records").subscribe(function(data) {
var that = this;
var team = this.team;
team.queue("records").subscribe(function(data) {
- var template = team.loadTemplate(that.config.template || "Record");
+ var template = team.loadTemplate(that.config.template || "details");
var targs = mkws.$.extend({}, data.hits[0], that.config.template_vars);
that.node.html(template(targs));
});
var targs = mkws.$.extend({}, data.hits[0], that.config.template_vars);
that.node.html(template(targs));
});