www-thermferm/js/maintenance_panel.js

changeset 131
528dc0bb81ab
parent 130
25158b08843f
child 132
8bd209d1c020
--- a/www-thermferm/js/maintenance_panel.js	Thu Jul 24 17:42:34 2014 +0200
+++ b/www-thermferm/js/maintenance_panel.js	Thu Jul 24 20:45:15 2014 +0200
@@ -54,7 +54,6 @@
     var source_profiles = {
         datatype: "json",
         datafields: [
-            { name: 'Id', type: 'int' },
             { name: 'UUID', type: 'string' },
             { name: 'Name', type: 'string' },
             { name: 'Steps', type: 'int' }
@@ -67,9 +66,9 @@
         source: dataAdapter_profiles,
         theme: 'ui-redmond',
         columnsresize: true,
+	editable: true,
         columns: [
-            { text: 'Id', datafield: 'Id', width: 40 },
-            { text: 'UUID', datafield: 'UUID', width: 280 },
+            { text: 'UUID', editable: false, datafield: 'UUID', width: 280 },
             { text: 'Name', datafield: 'Name', minwidth: 120 },
             { text: 'Steps', datafield: 'Steps', width: 50 }
         ]
@@ -81,7 +80,6 @@
     var source_units = {
         datatype: "json",
         datafields: [
-            { name: 'Id', type: 'int' },
             { name: 'UUID', type: 'string' },
             { name: 'Name', type: 'string' },
             { name: 'Mode', type: 'string' }
@@ -94,9 +92,9 @@
         source: dataAdapter_units,
         theme: 'ui-redmond',
         columnsresize: true,
+	editable: true,
         columns: [
-            { text: 'Id', datafield: 'Id', width: 40 },
-            { text: 'UUID', datafield: 'UUID', width: 280 },
+            { text: 'UUID', editable: false, datafield: 'UUID', width: 280 },
             { text: 'Name', datafield: 'Name', minwidth: 120 },
             { text: 'Mode', datafield: 'Mode', width: 70 }
         ]

mercurial