ninegrid2 6.1445.0 → 6.1446.0

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.
@@ -12266,7 +12266,7 @@ class ngCellEx extends HTMLElement
12266
12266
 
12267
12267
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12268
12268
 
12269
- if (fn) {
12269
+ if (fn && this.owner) {
12270
12270
 
12271
12271
  fn = fn.replace("()","");
12272
12272
 
@@ -12262,7 +12262,7 @@ class ngCellEx extends HTMLElement
12262
12262
 
12263
12263
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
12264
12264
 
12265
- if (fn) {
12265
+ if (fn && this.owner) {
12266
12266
 
12267
12267
  fn = fn.replace("()","");
12268
12268
 
@@ -189,7 +189,7 @@ export class ngCellEx extends HTMLElement
189
189
 
190
190
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
191
191
 
192
- if (fn) {
192
+ if (fn && this.owner) {
193
193
 
194
194
  fn = fn.replace("()","");
195
195
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1445.0",
4
+ "version": "6.1446.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -189,7 +189,7 @@ export class ngCellEx extends HTMLElement
189
189
 
190
190
  let fn = this.getAttribute("onbuttonclick") || this.getAttribute("onButtonClick") || this.cell?.getAttribute("onbuttonclick") || this.cell?.getAttribute("onButtonClick");// || this.getAttribute("@onlinkclick");
191
191
 
192
- if (fn) {
192
+ if (fn && this.owner) {
193
193
 
194
194
  fn = fn.replace("()","");
195
195