ninegrid2 6.388.0 → 6.390.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.
@@ -10798,9 +10798,10 @@ class nxAlertPopup extends HTMLElement
10798
10798
 
10799
10799
  $('.title', t.shadowRoot).html(title);
10800
10800
 
10801
- console.log(message);
10801
+ //console.log(message);
10802
10802
 
10803
- $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10803
+ //$('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10804
+ $('.msg', t.shadowRoot).html(message);
10804
10805
 
10805
10806
  return new Promise(function(resolve) {
10806
10807
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
@@ -10796,9 +10796,10 @@ class nxAlertPopup extends HTMLElement
10796
10796
 
10797
10797
  $('.title', t.shadowRoot).html(title);
10798
10798
 
10799
- console.log(message);
10799
+ //console.log(message);
10800
10800
 
10801
- $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10801
+ //$('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
10802
+ $('.msg', t.shadowRoot).html(message);
10802
10803
 
10803
10804
  return new Promise(function(resolve) {
10804
10805
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
@@ -90,9 +90,10 @@ export class nxAlertPopup extends HTMLElement
90
90
 
91
91
  $('.title', t.shadowRoot).html(title);
92
92
 
93
- console.log(message);
93
+ //console.log(message);
94
94
 
95
- $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
95
+ //$('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
96
+ $('.msg', t.shadowRoot).html(message);
96
97
 
97
98
  return new Promise(function(resolve) {
98
99
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.388.0",
4
+ "version": "6.390.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -90,9 +90,10 @@ export class nxAlertPopup extends HTMLElement
90
90
 
91
91
  $('.title', t.shadowRoot).html(title);
92
92
 
93
- console.log(message);
93
+ //console.log(message);
94
94
 
95
- $('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
95
+ //$('.msg', t.shadowRoot).html(message?.replaceAll("\n", "<br/>"));
96
+ $('.msg', t.shadowRoot).html(message);
96
97
 
97
98
  return new Promise(function(resolve) {
98
99
  $(".cancel,.close2", t.shadowRoot) .on("click", e => { resolve(false); $(".close", t.shadowRoot).trigger("click"); });