jqgrid_utils 1.27.2 → 1.27.3

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.
package/jqgrid_utils.js CHANGED
@@ -24,7 +24,6 @@ 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
28
27
  @alias module:Jqgrid_utils
29
28
  @param {object} - Grid Object (required)
30
29
  @param {string} - API URL like https://foo.com (required)
@@ -120,7 +119,7 @@ var jqu = new Jqgrid_utils({page:page});
120
119
  }
121
120
  else if(api != '' && Object.keys(row).length > 0 && row.inputData.oper == 'add')
122
121
  {
123
- //console.log("...add");
122
+ console.log("...add");
124
123
  for(let i in row.inputData)
125
124
  {
126
125
  if(row.inputData[i] && i != 'id' && i != 'oper')
@@ -1410,7 +1409,9 @@ var jqu = new Jqgrid_utils();
1410
1409
  'fields':{'style':'style'}
1411
1410
  }
1412
1411
  ]);
1413
-
1412
+ //other example
1413
+ col_model = await jqu.add_link_separator(col_model, 'https://wiki.salamander-jewelry.net/index.php/grid_loss' , 'e',[{'field':'e'}],'target="_blank"');
1414
+
1414
1415
  */
1415
1416
  async add_link_separator(col_model, url, edit_field, fields, attr='')
1416
1417
  {
package/make.sh CHANGED
@@ -1,3 +1 @@
1
- cp npmignore .npmignore
2
-
3
1
  watchify jqgrid_utils.js --s Jqgrid_utils -o dist/jqgrid_utils.js -v
package/make_doc.sh CHANGED
@@ -1,4 +1,6 @@
1
1
  #!/bin/bash
2
+ // install
3
+ // sudo npm install --save-dev jsdoc-to-markdown -g
2
4
 
3
5
  cp _README.md README.md
4
6
  jsdoc2md jqgrid_utils.js >> README.md
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.27.2"
32
+ "version": "1.27.3"
33
33
  }