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:
5c8aecf
)
The Reference Universe widget now specifies to use the correct target.
author
Mike Taylor
<mike@indexdata.com>
Fri, 9 Jan 2015 16:01:09 +0000
(16:01 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 9 Jan 2015 16:01:09 +0000
(16:01 +0000)
(Unfortunately that target presently only exists in the special magic
realm, but we're working on that.)
examples/htdocs/mkws-widget-ru.js
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-ru.js
b/examples/htdocs/mkws-widget-ru.js
index
afe0347
..
b616b33
100644
(file)
--- a/
examples/htdocs/mkws-widget-ru.js
+++ b/
examples/htdocs/mkws-widget-ru.js
@@
-1,4
+1,5
@@
mkws.registerWidgetType('reference-universe', function() {
+ if (!this.config.target) this.config.target = 'paratext_ruprime';
if (!this.config.perpage) this.config.perpage = 5;
if (!this.config.sort) this.config.sort = "position";
this.team.registerTemplate('reference-universe', '\