www/js/profile_mash.js

changeset 785
aa79acfdf8a9
parent 768
ae1195153fa2
--- a/www/js/profile_mash.js	Sun Feb 06 20:06:46 2022 +0100
+++ b/www/js/profile_mash.js	Thu Feb 10 22:15:10 2022 +0100
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (C) 2014-2021
+ * Copyright (C) 2014-2022
  *
  * Michiel Broek <mbroek at mbse dot eu>
  *
@@ -59,7 +59,8 @@
    { name: 'record', type: 'number' },
    { name: 'name', type: 'string' },
    { name: 'notes', type: 'string' },
-   { name: 'steps', type: 'array' }
+   { name: 'steps', type: 'array' },
+   { name: 'uuid', type: 'string' }
   ],
   id: 'record',
   url: url,
@@ -301,6 +302,7 @@
     editrow = -1;
     $('#name').val('Nieuw maisch schema');
     $('#notes').val('');
+    dataRecord.uuid = '';
     editsteps('');
     $('#popupWindow').jqxWindow('open');
    });
@@ -395,6 +397,7 @@
   }
   row = {
    record: rowID,
+   uuid: dataRecord.uuid,
    name: $('#name').val(),
    notes: $('#notes').val(),
    steps: steprows

mercurial