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:
dc14545
)
Add debugging
author
Mike Taylor
<mike@indexdata.com>
Thu, 21 Nov 2013 17:07:43 +0000
(17:07 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 21 Nov 2013 17:07:43 +0000
(17:07 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
ee13dba
..
56c0b15
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-389,6
+389,7
@@
function loadSelect ()
// limit the query after clicking the facet
mkws.limitQuery = function (field, value)
{
// limit the query after clicking the facet
mkws.limitQuery = function (field, value)
{
+ debug("limitQuery(field=" + field + ", value=" + value + ")");
document.mkwsSearchForm.mkwsQuery.value += ' and ' + field + '="' + value + '"';
onFormSubmitEventHandler();
}
document.mkwsSearchForm.mkwsQuery.value += ' and ' + field + '="' + value + '"';
onFormSubmitEventHandler();
}
@@
-396,6
+397,7
@@
mkws.limitQuery = function (field, value)
// limit by target functions
mkws.limitTarget = function (id, name)
{
// limit by target functions
mkws.limitTarget = function (id, name)
{
+ debug("limitTarget(id=" + id + ", name=" + name + ")");
var navi = document.getElementById('mkwsNavi');
navi.innerHTML =
'Source: <a class="crossout" href="#" onclick="mkws.delimitTarget();return false;">'
var navi = document.getElementById('mkwsNavi');
navi.innerHTML =
'Source: <a class="crossout" href="#" onclick="mkws.delimitTarget();return false;">'