ywana-core8 0.0.106 → 0.0.107

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.
@@ -4296,8 +4296,9 @@ var TableFilters = function TableFilters(props) {
4296
4296
 
4297
4297
 
4298
4298
  var TableEditor = function TableEditor(props) {
4299
- var check = function check(id, value) {
4299
+ var check = function check(id, value, t) {
4300
4300
  try {
4301
+ console.log('check() ', id, value, t);
4301
4302
  var ids = Array.isArray(id) ? id : [id];
4302
4303
  pageContext.check(ids, value);
4303
4304
  setPageContext(Object.assign({}, pageContext));
@@ -4404,9 +4405,7 @@ var TableEditor = function TableEditor(props) {
4404
4405
  id: field.id,
4405
4406
  label: field.label,
4406
4407
  type: field.type,
4407
- onChange: field.id === "checked" ? function (rowID, id, value) {
4408
- check(rowId, value);
4409
- } : field.editable ? change : null,
4408
+ onChange: field.id === "checked" ? check : field.editable ? change : null,
4410
4409
 
4411
4410
  /* checked has it´s own handler */
4412
4411
  options: options