diff -r d51b05838ac4 -r aa79acfdf8a9 www/js/inv_yeasts.js --- a/www/js/inv_yeasts.js Sun Feb 06 20:06:46 2022 +0100 +++ b/www/js/inv_yeasts.js Thu Feb 10 22:15:10 2022 +0100 @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (C) 2014-2021 + * Copyright (C) 2014-2022 * * Michiel Broek * @@ -72,6 +72,7 @@ cache: false, datafields: [ { name: 'record', type: 'number' }, + { name: 'uuid', type: 'string' }, { name: 'name', type: 'string' }, { name: 'type', type: 'string' }, { name: 'form', type: 'string' }, @@ -297,6 +298,7 @@ editrow = -1; $('#popupWindow').jqxWindow({ position: { x: 110, y: 30 } }); $('#name').val(''); + dataRecord.uuid = ''; $('#laboratory').val(''); $('#short_desc').val(''); $('#product_id').val(''); @@ -521,6 +523,7 @@ var row = { record: -1, name: $('#name').val() + ' kopie', + uuid: '', type: $('#type').val(), form: $('#form').val(), laboratory: $('#laboratory').val(), @@ -567,6 +570,7 @@ row = { record: rowID, name: $('#name').val(), + uuid: dataRecord.uuid, type: $('#type').val(), form: $('#form').val(), laboratory: $('#laboratory').val(),