summaryrefslogtreecommitdiffstats
path: root/theme/dive_export.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-07-18 16:55:16 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-25 07:14:23 -0700
commitbf68a2ece667504e656df15ac333e911961d5f4d (patch)
treecd9d96289094311f1aabde5b246fd54cb33f0e16 /theme/dive_export.html
parent6f6ed864bce317e06ecd0283456b9349fcf9bd02 (diff)
downloadsubsurface-bf68a2ece667504e656df15ac333e911961d5f4d.tar.gz
HTML: fix searching tags from the detailed view.
When clicking a tag in the detailed view a search must take place on the following tag, the search settings must be specified to search for tags only and ignore the advanced search settings chosen by the user. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/dive_export.html')
-rw-r--r--theme/dive_export.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html
index d9417e279..ebddf4040 100644
--- a/theme/dive_export.html
+++ b/theme/dive_export.html
@@ -123,7 +123,7 @@ window.onload=function(){
function changeAdvSearch(e){
searchingModules[e.value].enabled=e.checked;
- SearchModules(document.getElementById("search_input").value);
+ SearchModules(document.getElementById("search_input").value, null);
}
</script>
@@ -137,7 +137,7 @@ function changeAdvSearch(e){
</center>
<div id="diveListPanel">
<div id="controlbox">
- <input id="search_input" oninput="SearchModules(this.value)" placeholder="search"/><a id="adv_srch_sp" onClick="showdiv()" >Advanced Search</a>
+ <input id="search_input" oninput="SearchModules(this.value, null)" placeholder="search"/><a id="adv_srch_sp" onClick="showdiv()" >Advanced Search</a>
<div id="advanced_search">
<input type="checkbox" onchange="changeAdvSearch(this)" value="location" checked>Location<br>
<input type="checkbox" onchange="changeAdvSearch(this)" value="divemaster" checked>Divemaster<br>