summaryrefslogtreecommitdiff
path: root/htroot/index.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-10-23 18:28:11 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-10-23 18:28:11 +0200
commitf678394ce512421c2910fbcd4e54f069b88c200f (patch)
tree045f9a93c8c178f1dab4d9426f10409de02e5d07 /htroot/index.html
parentb98acb33c3ea7efc4863ecb241e491141d389ce1 (diff)
Fixed loss of index page form values on 'more options' link click.
Restores the behavior introduced eleven years ago (see commit 479861a3cf82e3439f7cdcce3865d3de602d53c3) and lost by mistake 3 years ago (see commit 617dd9c97b5db119a4603190ccedaf7d504b728b), when the click handler started referencing a missing HTML id.
Diffstat (limited to 'htroot/index.html')
-rw-r--r--htroot/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/htroot/index.html b/htroot/index.html
index 59ad2efab..7ee2dbcfc 100644
--- a/htroot/index.html
+++ b/htroot/index.html
@@ -72,7 +72,7 @@
#(searchaudio)#::<input type="radio" id="audio" name="contentdom" value="audio" #(check)#::checked="checked"#(/check)# />&nbsp;Audio&nbsp;&nbsp;#(/searchaudio)#
#(searchvideo)#::<input type="radio" id="video" name="contentdom" value="video" #(check)#::checked="checked"#(/check)# />&nbsp;Video&nbsp;&nbsp;#(/searchvideo)#
#(searchapp)#::<input type="radio" id="app" name="contentdom" value="app" #(check)#::checked="checked"#(/check)# />&nbsp;Applications#(/searchapp)#
- #(searchoptions)#&nbsp;&nbsp;<a href="index.html?searchoptions=1" onclick="this.href='index.html?searchoptions=1&amp;former='+document.getElementById('searchinput').search.value+'&amp;contentdom='+radioValue(document.getElementById('searchinput').contentdom)">more options...</a>::#(/searchoptions)#
+ #(searchoptions)#&nbsp;&nbsp;<a href="index.html?searchoptions=1" onclick="this.href='index.html?searchoptions=1&amp;former='+document.getElementById('search').value+'&amp;contentdom='+radioValue(document.getElementById('searchform').contentdom);">more options...</a>::#(/searchoptions)#
</div>
#(/searchdomswitches)#
<input type="hidden" name="nav" value="#[search.navigation]#" />