jqgrid_utils 1.5.3 → 1.5.4

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.
@@ -729,7 +729,14 @@ async add_link_details(col_model, url, edit_field, attr = '', keys, format)
729
729
  pref = pref.slice(0, -1);
730
730
  }
731
731
  const _cell_val = self.__cell_format(cell_val, format);
732
- cell_val = '<a ' + attr + 'href="' + url + pref + '"> ' + _cell_val + '</a>';
732
+ if(cell_val)
733
+ {
734
+ cell_val = '<a ' + attr + 'href="' + url + pref + '"> ' + _cell_val + '</a>';
735
+ }
736
+ else
737
+ {
738
+ cell_val = '';
739
+ }
733
740
  }
734
741
 
735
742
  }
package/jqgrid_utils.js CHANGED
@@ -728,7 +728,14 @@ async add_link_details(col_model, url, edit_field, attr = '', keys, format)
728
728
  pref = pref.slice(0, -1);
729
729
  }
730
730
  const _cell_val = self.__cell_format(cell_val, format);
731
- cell_val = '<a ' + attr + 'href="' + url + pref + '"> ' + _cell_val + '</a>';
731
+ if(cell_val)
732
+ {
733
+ cell_val = '<a ' + attr + 'href="' + url + pref + '"> ' + _cell_val + '</a>';
734
+ }
735
+ else
736
+ {
737
+ cell_val = '';
738
+ }
732
739
  }
733
740
 
734
741
  }
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.5.3"
32
+ "version": "1.5.4"
33
33
  }