From: Wolfram Schneider Date: Wed, 10 Jul 2013 15:16:11 +0000 (+0000) Subject: use a flat config for the popup window X-Git-Tag: 0.9.1~277 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=4ebbfcd799553848d2a2503c1b28ab0a961a2caa;hp=625eb2222159cf2c5144e9df0e2277e9d4edb1cd use a flat config for the popup window jQuery.pazpar2({ "layout":"popup", width: 800, height: 500 } ); --- diff --git a/experiments/spclient/index-popup.html b/experiments/spclient/index-popup.html index 0a42fee..54a81f2 100644 --- a/experiments/spclient/index-popup.html +++ b/experiments/spclient/index-popup.html @@ -3,8 +3,8 @@ MKWS demo: popup search box - +
diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js
index c928f9c..4004ce2 100644
--- a/tools/htdocs/mkws.js
+++ b/tools/htdocs/mkws.js
@@ -919,7 +919,7 @@ jQuery.extend({
 });
 
 function init_popup(obj) {
-    var config = obj && obj.config ? obj.config : {};
+    var config = obj ? obj : {};
 
     var height = config.height || 760;
     var width = config.width || 880;