[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14790 - gauger
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14790 - gauger |
Date: |
Wed, 30 Mar 2011 19:31:08 +0200 |
Author: bartpolot
Date: 2011-03-30 19:31:08 +0200 (Wed, 30 Mar 2011)
New Revision: 14790
Modified:
gauger/template.php
Log:
Fixed bug: on un-auto global, reset individual sliders
Modified: gauger/template.php
===================================================================
--- gauger/template.php 2011-03-30 16:34:10 UTC (rev 14789)
+++ gauger/template.php 2011-03-30 17:31:08 UTC (rev 14790)
@@ -170,6 +170,12 @@
x_min: min,
persist: "true"
});
+ if(!chk) {
+ $( ".slider-range" ).each(function(){
+ $(this).slider('values', 0, min);
+ });
+ $( ".input_min" ).val(min);
+ }
} else {
min = chk ? "auto" :
$(this).parents("tr").find(".slider-range").slider('values', 0);
$(this).parents("tr").find(".plot").each(function(){
@@ -189,6 +195,12 @@
x_max: max,
persist: "true"
});
+ if(!chk) {
+ $( ".slider-range" ).each(function(){
+ $(this).slider('values', 1, max);
+ });
+ $( ".input_max" ).val(max);
+ }
} else {
max = chk ? "auto" :
$(this).parents("tr").find(".slider-range").slider('values', 1);
$(this).parents("tr").find(".plot").each(function(){
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14790 - gauger,
gnunet <=