agentgui 1.0.778 → 1.0.779
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/package.json
CHANGED
package/static/js/dialogs.js
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
var activeDialogs = [];
|
|
3
3
|
var dialogZIndex = 10000;
|
|
4
4
|
|
|
5
|
-
function escapeHtml(text) {
|
|
5
|
+
function escapeHtml(text) {
|
|
6
|
+
if (typeof window._escHtml === 'function') return window._escHtml(text);
|
|
7
|
+
var d = document.createElement('div'); d.textContent = text; return d.innerHTML;
|
|
8
|
+
}
|
|
6
9
|
|
|
7
10
|
function createOverlay() {
|
|
8
11
|
var overlay = document.createElement('div');
|