www/js/rec_edit.js

changeset 710
9646123ea063
parent 667
1246550451ca
child 735
23d972f5d784
--- a/www/js/rec_edit.js	Fri Aug 14 11:38:58 2020 +0200
+++ b/www/js/rec_edit.js	Wed Aug 19 17:13:24 2020 +0200
@@ -733,7 +733,7 @@
    { name: 'st_guide', type: 'string' },
    { name: 'st_type', type: 'int' },
    { name: 'st_category', type: 'string' },
-   { name: 'st_category_number', type: 'float' },
+   { name: 'st_category_number', type: 'int' },
    { name: 'st_og_min', type: 'float' },
    { name: 'st_og_max', type: 'float' },
    { name: 'st_fg_min', type: 'float' },
@@ -2770,7 +2770,7 @@
    st_guide: $('#st_guide').val(),
    st_type: dataRecord.st_type,
    st_category: $('#st_category').val(),
-   st_category_number: parseFloat($('#st_category_number').jqxNumberInput('decimal')),
+   st_category_number: $('#st_category_number').val(),
    st_og_min: parseFloat($('#st_og_min').jqxNumberInput('decimal')),
    st_og_max: parseFloat($('#st_og_max').jqxNumberInput('decimal')),
    st_fg_min: parseFloat($('#st_fg_min').jqxNumberInput('decimal')),

mercurial