diff options
author | Simon | 2011-03-31 16:33:36 +0200 |
---|---|---|
committer | Simon | 2011-03-31 16:33:36 +0200 |
commit | 6fbd2a654067773df378efaa4283a4870073208b (patch) | |
tree | 9d12bccbe2b8f42e5ec00f4afe52751ce2bb7221 /application/modules/user/forms | |
parent | Filter können nurnoch auf eigene BootMenu verweisen (diff) | |
download | pbs2-6fbd2a654067773df378efaa4283a4870073208b.tar.gz pbs2-6fbd2a654067773df378efaa4283a4870073208b.tar.xz pbs2-6fbd2a654067773df378efaa4283a4870073208b.zip |
Graph-Anzeige gefixxt
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r-- | application/modules/user/forms/Bootiso.php | 7 | ||||
-rw-r--r-- | application/modules/user/forms/Bootos.php | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/application/modules/user/forms/Bootiso.php b/application/modules/user/forms/Bootiso.php index 3aba0af..7c472c0 100644 --- a/application/modules/user/forms/Bootiso.php +++ b/application/modules/user/forms/Bootiso.php @@ -120,12 +120,13 @@ class user_Form_Bootiso extends Zend_Form }); function changeDepth(){ i = $("#depth option:selected").val(); - $('#depthimg').attr('src','/stats/graphgroup/level/' + i); - }</script> + $('#depthimg').attr('src','/stats/graphgroup/level/' + i); + } + </script> <div id='groups' style='text-align: center;'> <div class='v1'> - <img id='depthimg' src='/stats/graphgroup/' /> + <img alt='Please select a public level' id='depthimg' src='/stats/graphgroup/level/0' /> </div> </div> diff --git a/application/modules/user/forms/Bootos.php b/application/modules/user/forms/Bootos.php index f56761b..5fa890a 100644 --- a/application/modules/user/forms/Bootos.php +++ b/application/modules/user/forms/Bootos.php @@ -144,7 +144,11 @@ class user_Form_Bootos extends Zend_Form ?> - <script>changeDepth(); + <script> + $(document).ready(function(){ + changeDepth(); + $('#groups .v1').show(); + }); function changeDepth(){ i = $("#depth option:selected").val(); $('#depthimg').attr('src','/stats/graphgroup/level/' + i); |