@churchillliving/se-ui-toolkit 6.53.196 → 6.53.197
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/bundles/churchillliving-se-ui-toolkit.umd.js +8 -6
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/esm2015/lib/services/utilities.service.js +9 -7
- package/fesm2015/churchillliving-se-ui-toolkit.js +8 -6
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -2049,10 +2049,12 @@
|
|
|
2049
2049
|
}
|
|
2050
2050
|
function draggableDialog(id) {
|
|
2051
2051
|
setTimeout(function () {
|
|
2052
|
-
var _a;
|
|
2053
|
-
var
|
|
2054
|
-
(_a =
|
|
2055
|
-
var
|
|
2052
|
+
var _a, _b;
|
|
2053
|
+
var dialog = document.getElementsByClassName('p-dialog');
|
|
2054
|
+
(_a = dialog[0]) === null || _a === void 0 ? void 0 : _a.setAttribute('id', 'mydiv' + id);
|
|
2055
|
+
var dialogheader = document.getElementsByClassName('p-dialog-header');
|
|
2056
|
+
(_b = dialogheader[0]) === null || _b === void 0 ? void 0 : _b.setAttribute('id', 'mydivheader' + id);
|
|
2057
|
+
var elmnt = document.getElementById('mydiv' + id);
|
|
2056
2058
|
var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
|
|
2057
2059
|
var dragMouseDown = function (e) {
|
|
2058
2060
|
e = e || window.event;
|
|
@@ -2074,8 +2076,8 @@
|
|
|
2074
2076
|
document.onmouseup = null;
|
|
2075
2077
|
document.onmousemove = null;
|
|
2076
2078
|
};
|
|
2077
|
-
if (document.getElementById(
|
|
2078
|
-
document.getElementById(
|
|
2079
|
+
if (document.getElementById('mydivheader' + id)) {
|
|
2080
|
+
document.getElementById('mydivheader' + id).onmousedown = dragMouseDown;
|
|
2079
2081
|
}
|
|
2080
2082
|
else {
|
|
2081
2083
|
elmnt.onmousedown = dragMouseDown;
|