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:
b7948ba
)
Use facet name instead of caption MKWS-298
author
Jason Skomorowski
<jason@indexdata.com>
Wed, 22 Oct 2014 14:21:49 +0000
(10:21 -0400)
committer
Jason Skomorowski
<jason@indexdata.com>
Wed, 22 Oct 2014 14:21:49 +0000
(10:21 -0400)
src/mkws-widget-termlists.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-termlists.js
b/src/mkws-widget-termlists.js
index
2e684f6
..
e8cab10
100644
(file)
--- a/
src/mkws-widget-termlists.js
+++ b/
src/mkws-widget-termlists.js
@@
-62,11
+62,11
@@
mkws.registerWidgetType('facet', function() {
if (that.config.template) {
template = team.loadTemplate(that.config.template);
} else {
if (that.config.template) {
template = team.loadTemplate(that.config.template);
} else {
- template = team.loadTemplate("Facet-" + caption);
+ template = team.loadTemplate("facet-" + name);
if (template) {
if (template) {
- that.log("Using Facet-" + caption + " template.")
+ that.log("Using facet-" + name + " template.")
} else {
} else {
- that.log("No " + caption + " specific template, using default.")
+ that.log("No " + name + " specific template, using default.")
template = team.loadTemplate("Facet");
}
}
template = team.loadTemplate("Facet");
}
}