From: Mike Taylor Date: Wed, 12 Feb 2014 17:54:17 +0000 (+0000) Subject: Fix redundant local overrides of jQuery plugin default configuration values with... X-Git-Tag: 1.0.0~1461 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=d97b327c5b2d58ad3bcf49e5f739ad3a04109a3e;hp=1052ebf78efe0c41ee44954be8de76eaca2dfbe7 Fix redundant local overrides of jQuery plugin default configuration values with copies of those values, to now use the new versions of those default values that rely on class selection rather than ID selection. It would make more sense to get rid of these pointless and error-prone overrides completely. --- diff --git a/examples/htdocs/jasmine-local-popup.html b/examples/htdocs/jasmine-local-popup.html index 395f232..57ce497 100644 --- a/examples/htdocs/jasmine-local-popup.html +++ b/examples/htdocs/jasmine-local-popup.html @@ -43,8 +43,8 @@ jQuery.pazpar2({ "layout": "popup", /* "table" [default], "div", "popup" */ - "id_button": "input#mkwsButton", /* submit button id in search field */ - "id_popup": "#mkwsPopup", /* internal id of popup window */ + "id_button": "input.mkwsButton", /* submit button id in search field */ + "id_popup": ".mkwsPopup", /* internal id of popup window */ "width": 990, /* popup width, should be at least 800 */ "height": 760 /* popup height, should be at least 600 */ }); diff --git a/examples/htdocs/jasmine-popup.html b/examples/htdocs/jasmine-popup.html index c678b4d..4bf8835 100644 --- a/examples/htdocs/jasmine-popup.html +++ b/examples/htdocs/jasmine-popup.html @@ -37,8 +37,8 @@ jQuery.pazpar2({ "layout": "popup", /* "table" [default], "div", "popup" */ - "id_button": "input#mkwsButton", /* submit button id in search field */ - "id_popup": "#mkwsPopup", /* internal id of popup window */ + "id_button": "input.mkwsButton", /* submit button id in search field */ + "id_popup": ".mkwsPopup", /* internal id of popup window */ "width": 990, /* popup width, should be at least 800 */ "height": 760 /* popup height, should be at least 600 */ }); diff --git a/examples/htdocs/jquery.html b/examples/htdocs/jquery.html index 8c9f6e2..6ebb30f 100644 --- a/examples/htdocs/jquery.html +++ b/examples/htdocs/jquery.html @@ -12,8 +12,8 @@