Explorar o código

stepping slider

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
53a934e4e1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      configure_thurvserver.tpl

+ 3 - 0
configure_thurvserver.tpl

@@ -236,6 +236,9 @@ var _localLang = {
                                                                 max: {$configoption.qtymaximum},
                                                                 grid: true,
                                                                 grid_snap: setLargerMarkers ? false : true,
+                                                                {if ($configoption.qtymaximum - $configoption.qtyminimum) > 50}
+                                                                    step: 5,
+                                                                {/if}
                                                                 onChange: function() {
                                                                     if (sliderTimeoutId) {
                                                                         clearTimeout(sliderTimeoutId);