aboutsummaryrefslogtreecommitdiff
path: root/s/masterscript.js
diff options
context:
space:
mode:
authorDarkelarious <darkelarious@333networks.com>2022-08-26 13:26:33 +0200
committerDarkelarious <darkelarious@333networks.com>2022-08-26 13:26:33 +0200
commit8ec88b566c5f3edc65f25adc0716c3493689cd08 (patch)
treedbbde9a694f6b4052ec39a45f0010955c668da3c /s/masterscript.js
parentc5f43733533fe9b5708bd065a12c5fac86ccebed (diff)
downloadWebInterface-Perl-8ec88b566c5f3edc65f25adc0716c3493689cd08.tar.gz
WebInterface-Perl-8ec88b566c5f3edc65f25adc0716c3493689cd08.zip
advanced filtering
Diffstat (limited to 's/masterscript.js')
-rwxr-xr-xs/masterscript.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/s/masterscript.js b/s/masterscript.js
index ce849bc..56234b6 100755
--- a/s/masterscript.js
+++ b/s/masterscript.js
@@ -6,20 +6,12 @@
// 333networks.com for license and copyright.
//
//==============================================================================
-
-// advanced search box
-function toggleAdvanced ()
-{
- var box = document.getElementById("advancedsearch");
- box.style.display = (box.style.display == "block" ? "none" : "block" );
-}
-
// search box
{
var qbox = document.getElementById('q');
qbox.onclick = function ()
{
- if ( this.value == 'search...' )
+ if ( this.value == 'filter...' )
{
this.value = '';
this.style.fontStyle = 'normal'
@@ -30,7 +22,7 @@ function toggleAdvanced ()
{
if ( this.value.length < 1 )
{
- this.value = 'search...';
+ this.value = 'filter...';
this.style.fontStyle = 'italic';
}
};