diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2017-01-03 15:32:12 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-01-03 15:59:33 +0100 |
commit | 8254a79c58ab5f80bfd5549f6141fda8039599ab (patch) | |
tree | 318cdf59ba302b28c02601497fd06f7a55797244 /includes/sys_form.php | |
parent | 1c27bf1375fe769ab53cbd67278ce41a5cc2a9d8 (diff) |
Bugfixes & improvements
Diffstat (limited to 'includes/sys_form.php')
-rw-r--r-- | includes/sys_form.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/sys_form.php b/includes/sys_form.php index 7b1141bb..936e3203 100644 --- a/includes/sys_form.php +++ b/includes/sys_form.php @@ -36,11 +36,12 @@ function form_spinner($name, $label, $value) </div> </div> <script type="text/javascript"> - var spinner = $("#spinner-' . $name . '"); $("#spinner-' . $name . '-down").click(function() { + var spinner = $("#spinner-' . $name . '"); spinner.val(parseInt(spinner.val()) - 1); }); $("#spinner-' . $name . '-up").click(function() { + var spinner = $("#spinner-' . $name . '"); spinner.val(parseInt(spinner.val()) + 1); }); </script> |