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
pazpar2() extension uses an empty config object if nothing is passed
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws-jquery.js
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(/^#/, "");