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:
c1b2e03
)
if there are no "good" sources, ignore the source facet check. MKWS-137
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 7 Mar 2014 16:51:12 +0000
(16:51 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 7 Mar 2014 16:51:12 +0000
(16:51 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
d042366
..
5074c4e
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-289,6
+289,10
@@
describe("Check Termlist", function () {
break;
}
}
+ if ($("div.mkwsFacetSources div.term:nth-child(" + source_number + ") a").text().length == 0) {
+ debug("No good source found. Not clicking on the bad ones");
+ return;
+ }
$("div.mkwsFacetSources div.term:nth-child(" + source_number + ") a").trigger("click");