popup: button -> id_button
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 22 Aug 2013 11:14:20 +0000 (11:14 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 22 Aug 2013 11:14:20 +0000 (11:14 +0000)
just code what the documentation says

tools/htdocs/mkws.js

index 0b1c9f7..f0448d1 100644 (file)
@@ -925,8 +925,8 @@ function init_popup(obj) {
 
     var height = config.height || 760;
     var width = config.width || 880;
-    var id_button = config.button || "input#mkwsButton";
-    var id_popup = config.popup || "#mkwsPopup";
+    var id_button = config.id_button || "input#mkwsButton";
+    var id_popup = config.id_popup || "#mkwsPopup";
 
     debug("popup height: " + height + ", width: " + width);