jqgrid_utils 1.26.4 → 1.26.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ module.exports = class Vanilla_website_utils
25
25
  /**
26
26
  * Takes the updated columns data and send it to your API post server
27
27
  * loadComplete: async function() for the old record needs to be called, see example !
28
+ * the jgrid ID must be of type string
28
29
  @alias module:Jqgrid_utils
29
30
  @param {object} - Grid Object (required)
30
31
  @param {string} - API URL like https://foo.com (required)
@@ -120,7 +121,7 @@ var jqu = new Jqgrid_utils({page:page});
120
121
  }
121
122
  else if(api != '' && Object.keys(row).length > 0 && row.inputData.oper == 'add')
122
123
  {
123
- console.log("...add");
124
+ //console.log("...add");
124
125
  for(let i in row.inputData)
125
126
  {
126
127
  if(row.inputData[i] && i != 'id' && i != 'oper')
package/jqgrid_utils.js CHANGED
@@ -24,6 +24,7 @@ module.exports = class Vanilla_website_utils
24
24
  /**
25
25
  * Takes the updated columns data and send it to your API post server
26
26
  * loadComplete: async function() for the old record needs to be called, see example !
27
+ * the jgrid ID must be of type string
27
28
  @alias module:Jqgrid_utils
28
29
  @param {object} - Grid Object (required)
29
30
  @param {string} - API URL like https://foo.com (required)
@@ -119,7 +120,7 @@ var jqu = new Jqgrid_utils({page:page});
119
120
  }
120
121
  else if(api != '' && Object.keys(row).length > 0 && row.inputData.oper == 'add')
121
122
  {
122
- console.log("...add");
123
+ //console.log("...add");
123
124
  for(let i in row.inputData)
124
125
  {
125
126
  if(row.inputData[i] && i != 'id' && i != 'oper')
package/package.json CHANGED
@@ -29,5 +29,5 @@
29
29
  {
30
30
  "test": "echo \"Error: no test specified\" && exit 1"
31
31
  },
32
- "version": "1.26.4"
32
+ "version": "1.26.5"
33
33
  }