variable search works at least on Firefox again

pull/1/head
Lotus 13 years ago
parent b7f6383ab8
commit 18227790ca

@ -3,6 +3,9 @@
<head> <head>
<title>YaCy '#[clientname]#': Advanced Config</title> <title>YaCy '#[clientname]#': Advanced Config</title>
#%env/templates/metas.template%# #%env/templates/metas.template%#
<style type="text/css"> <!--
.filtered { display:none; }
//--> </style>
<script type="text/javascript"> <script type="text/javascript">
<!-- <!--
function element_clicked(element){ function element_clicked(element){
@ -16,7 +19,7 @@
while(node!=null){ while(node!=null){
if(node.nodeType==1 && node.nodeName.toLowerCase()=="option"){ if(node.nodeType==1 && node.nodeName.toLowerCase()=="option"){
if(key!="" && node.firstChild.nodeValue.indexOf(key)==-1){ if(key!="" && node.firstChild.nodeValue.indexOf(key)==-1){
node.setAttribute("class", "hidden"); node.setAttribute("class", "filtered");
}else{ }else{
node.setAttribute("class", ""); node.setAttribute("class", "");
} }
@ -24,7 +27,7 @@
node=node.nextSibling; node=node.nextSibling;
} }
} }
--> //-->
</script> </script>
</head> </head>
<body id="ConfigAdvanced"> <body id="ConfigAdvanced">

Loading…
Cancel
Save