commit d89fddda1889757e279f02c2eb82602f210b0836
parent aec7e086d159c1a28294d0b9cbb13ec59c04efc4
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 29 Nov 2014 17:50:29 +0100
maybe fixed everything
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -78,7 +78,6 @@
<script type="text/javascript">
function Go (select) {
var wert = select.options[select.options.selectedIndex].value;
- alert(wert);
if (wert == "leer") {
select.form.reset();
parent.frames["unten"].focus();
@@ -88,9 +87,11 @@
top.location.href = parent.frames[1].location.href;
} else {
parent.frames["unten"].location.href = wert;
- select.form.reset();
- parent.frames["unten"].focus();
- }
+ select.form.reset();
+ parent.frames["unten"].focus();
+ } else {
+ location.href = wert;
+ }
}
}
</script>