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:
a6d6c72
)
Use mkws.getParameterByName
author
Mike Taylor
<mike@indexdata.com>
Tue, 1 Apr 2014 12:20:55 +0000
(13:20 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 1 Apr 2014 12:20:55 +0000
(13:20 +0100)
src/mkws-widgets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
ff608a2
..
3a24b0e
100644
(file)
--- a/
src/mkws-widgets.js
+++ b/
src/mkws-widgets.js
@@
-270,7
+270,7
@@
mkws.registerWidgetType('Records', function() {
if (query) {
if (query.match(/^!param!/)) {
var param = query.replace(/^!param!/, '');
- query = getParameterByName(param);
+ query = mkws.getParameterByName(param);
that.log("obtained query '" + query + "' from param '" + param + "'");
if (!query) {
alert("This page has a MasterKey widget that needs a query specified by the '" + param + "' parameter");