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:
35ec2ae
)
pazpar2() extension uses an empty config object if nothing is passed
author
Mike Taylor
<mike@indexdata.com>
Mon, 17 Mar 2014 17:30:47 +0000
(17:30 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Mon, 17 Mar 2014 17:30:55 +0000
(17:30 +0000)
in. Fixes bug MKWS-95 properly.
tools/htdocs/mkws-jquery.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws-jquery.js
b/tools/htdocs/mkws-jquery.js
index
11fa838
..
0d10284
100644
(file)
--- a/
tools/htdocs/mkws-jquery.js
+++ b/
tools/htdocs/mkws-jquery.js
@@
-57,6
+57,7
@@
function _mkws_jquery_plugin ($) {
// service-proxy or pazpar2
pazpar2: function(config) {
+ if (!config) config = {};
var id_popup = config.id_popup || "#mkwsPopup";
id_popup = id_popup.replace(/^#/, "");