remove image core clara
This commit is contained in:
@ -86,19 +86,19 @@ var KTAppInboxCompose = function () {
|
||||
});
|
||||
}
|
||||
|
||||
// Init tagify
|
||||
// Init tagify
|
||||
const initTagify = (el) => {
|
||||
var inputElm = el;
|
||||
|
||||
const usersList = [
|
||||
{ value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' },
|
||||
{ value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' },
|
||||
{ value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' },
|
||||
{ value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' },
|
||||
{ value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' },
|
||||
{ value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' },
|
||||
{ value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' },
|
||||
{ value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' }
|
||||
// { value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' },
|
||||
// { value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' },
|
||||
// { value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' },
|
||||
// { value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' },
|
||||
// // { value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' },
|
||||
// { value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' },
|
||||
// { value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' },
|
||||
// { value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' }
|
||||
];
|
||||
|
||||
function tagTemplate(tagData) {
|
||||
@ -194,7 +194,7 @@ var KTAppInboxCompose = function () {
|
||||
}
|
||||
}
|
||||
|
||||
// Init quill editor
|
||||
// Init quill editor
|
||||
const initQuill = (el) => {
|
||||
var quill = new Quill('#kt_inbox_form_editor', {
|
||||
modules: {
|
||||
|
@ -114,19 +114,19 @@ var KTAppInboxReply = function () {
|
||||
});
|
||||
}
|
||||
|
||||
// Init tagify
|
||||
// Init tagify
|
||||
const initTagify = (el) => {
|
||||
var inputElm = el;
|
||||
|
||||
const usersList = [
|
||||
{ value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' },
|
||||
{ value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' },
|
||||
{ value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' },
|
||||
{ value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' },
|
||||
{ value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' },
|
||||
{ value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' },
|
||||
{ value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' },
|
||||
{ value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' }
|
||||
// { value: 1, name: 'Emma Smith', avatar: 'avatars/300-6.jpg', email: 'e.smith@kpmg.com.au' },
|
||||
// { value: 2, name: 'Max Smith', avatar: 'avatars/300-1.jpg', email: 'max@kt.com' },
|
||||
// { value: 3, name: 'Sean Bean', avatar: 'avatars/300-5.jpg', email: 'sean@dellito.com' },
|
||||
// { value: 4, name: 'Brian Cox', avatar: 'avatars/300-25.jpg', email: 'brian@exchange.com' },
|
||||
// // { value: 5, name: 'Francis Mitcham', avatar: 'avatars/300-9.jpg', email: 'f.mitcham@kpmg.com.au' },
|
||||
// { value: 6, name: 'Dan Wilson', avatar: 'avatars/300-23.jpg', email: 'dam@consilting.com' },
|
||||
// { value: 7, name: 'Ana Crown', avatar: 'avatars/300-12.jpg', email: 'ana.cf@limtel.com' },
|
||||
// { value: 8, name: 'John Miller', avatar: 'avatars/300-13.jpg', email: 'miller@mapple.com' }
|
||||
];
|
||||
|
||||
function tagTemplate(tagData) {
|
||||
@ -222,7 +222,7 @@ var KTAppInboxReply = function () {
|
||||
}
|
||||
}
|
||||
|
||||
// Init quill editor
|
||||
// Init quill editor
|
||||
const initQuill = (el) => {
|
||||
var quill = new Quill('#kt_inbox_form_editor', {
|
||||
modules: {
|
||||
|
@ -54,8 +54,8 @@ var KTTimelineWidget1 = function () {
|
||||
progress: "60%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -92,9 +92,9 @@ var KTTimelineWidget1 = function () {
|
||||
progress: "75%",
|
||||
color: 'info',
|
||||
users: [
|
||||
'avatars/300-23.jpg',
|
||||
'avatars/300-12.jpg',
|
||||
'avatars/300-9.jpg'
|
||||
// 'avatars/300-23.jpg',
|
||||
// 'avatars/300-12.jpg',
|
||||
// 'avatars/300-9.jpg'
|
||||
]
|
||||
},
|
||||
]);
|
||||
@ -137,19 +137,19 @@ var KTTimelineWidget1 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
@ -163,7 +163,7 @@ var KTTimelineWidget1 = function () {
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -172,7 +172,7 @@ var KTTimelineWidget1 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
@ -229,8 +229,8 @@ var KTTimelineWidget1 = function () {
|
||||
progress: "71%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -267,9 +267,9 @@ var KTTimelineWidget1 = function () {
|
||||
progress: "74%",
|
||||
color: 'info',
|
||||
users: [
|
||||
'avatars/300-23.jpg',
|
||||
'avatars/300-12.jpg',
|
||||
'avatars/300-9.jpg'
|
||||
// 'avatars/300-23.jpg',
|
||||
// 'avatars/300-12.jpg',
|
||||
// 'avatars/300-9.jpg'
|
||||
]
|
||||
},
|
||||
]);
|
||||
@ -313,19 +313,19 @@ var KTTimelineWidget1 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
@ -339,7 +339,7 @@ var KTTimelineWidget1 = function () {
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -348,7 +348,7 @@ var KTTimelineWidget1 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
@ -405,8 +405,8 @@ var KTTimelineWidget1 = function () {
|
||||
progress: "79%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -489,33 +489,33 @@ var KTTimelineWidget1 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
// Remove block ui on initial draw
|
||||
onInitialDrawComplete: function () {
|
||||
handleAvatarPath();
|
||||
|
||||
|
||||
const target = element.closest('[data-kt-timeline-widget-1-blockui="true"]');
|
||||
const blockUI = KTBlockUI.getInstance(target);
|
||||
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -524,7 +524,7 @@ var KTTimelineWidget1 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
|
@ -54,8 +54,8 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "60%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -79,8 +79,8 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "55%",
|
||||
color: 'danger',
|
||||
users: [
|
||||
'avatars/300-5.jpg',
|
||||
'avatars/300-20.jpg'
|
||||
// 'avatars/300-5.jpg',
|
||||
// 'avatars/300-20.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -92,9 +92,9 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "75%",
|
||||
color: 'info',
|
||||
users: [
|
||||
'avatars/300-23.jpg',
|
||||
'avatars/300-12.jpg',
|
||||
'avatars/300-9.jpg'
|
||||
// 'avatars/300-23.jpg',
|
||||
// 'avatars/300-12.jpg',
|
||||
// 'avatars/300-9.jpg'
|
||||
]
|
||||
},
|
||||
]);
|
||||
@ -137,19 +137,19 @@ var KTTimelineWidget4 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
@ -163,7 +163,7 @@ var KTTimelineWidget4 = function () {
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -172,7 +172,7 @@ var KTTimelineWidget4 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
@ -229,8 +229,8 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "71%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -254,8 +254,8 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "69%",
|
||||
color: 'danger',
|
||||
users: [
|
||||
'avatars/300-5.jpg',
|
||||
'avatars/300-20.jpg'
|
||||
// 'avatars/300-5.jpg',
|
||||
// 'avatars/300-20.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -267,9 +267,9 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "74%",
|
||||
color: 'info',
|
||||
users: [
|
||||
'avatars/300-23.jpg',
|
||||
'avatars/300-12.jpg',
|
||||
'avatars/300-9.jpg'
|
||||
// 'avatars/300-23.jpg',
|
||||
// 'avatars/300-12.jpg',
|
||||
// 'avatars/300-9.jpg'
|
||||
]
|
||||
},
|
||||
]);
|
||||
@ -313,19 +313,19 @@ var KTTimelineWidget4 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
@ -339,7 +339,7 @@ var KTTimelineWidget4 = function () {
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -348,7 +348,7 @@ var KTTimelineWidget4 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
@ -405,8 +405,8 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "79%",
|
||||
color: 'primary',
|
||||
users: [
|
||||
'avatars/300-6.jpg',
|
||||
'avatars/300-1.jpg'
|
||||
// 'avatars/300-6.jpg',
|
||||
// 'avatars/300-1.jpg'
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -443,9 +443,9 @@ var KTTimelineWidget4 = function () {
|
||||
progress: "58%",
|
||||
color: 'info',
|
||||
users: [
|
||||
'avatars/300-23.jpg',
|
||||
'avatars/300-12.jpg',
|
||||
'avatars/300-9.jpg'
|
||||
// 'avatars/300-23.jpg',
|
||||
// 'avatars/300-12.jpg',
|
||||
// 'avatars/300-9.jpg'
|
||||
]
|
||||
},
|
||||
]);
|
||||
@ -489,33 +489,33 @@ var KTTimelineWidget4 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
// Remove block ui on initial draw
|
||||
onInitialDrawComplete: function () {
|
||||
handleAvatarPath();
|
||||
|
||||
|
||||
const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]');
|
||||
const blockUI = KTBlockUI.getInstance(target);
|
||||
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -524,12 +524,12 @@ var KTTimelineWidget4 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// 2022 timeline
|
||||
const initTimeline2022 = () => {
|
||||
// Detect element
|
||||
@ -665,33 +665,33 @@ var KTTimelineWidget4 = function () {
|
||||
|
||||
return `<div class="rounded-pill bg-light-${item.color} d-flex align-items-center position-relative h-40px w-100 p-2 overflow-hidden">
|
||||
<div class="position-absolute rounded-pill d-block bg-${item.color} start-0 top-0 h-100 z-index-1" style="width: ${item.progress};"></div>
|
||||
|
||||
|
||||
<div class="d-flex align-items-center position-relative z-index-2">
|
||||
<div class="symbol-group symbol-hover flex-nowrap me-3">
|
||||
${userTemplate}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="#" class="fw-bold text-white text-hover-dark">${item.content}</a>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="d-flex flex-center bg-body rounded-pill fs-7 fw-bolder ms-auto h-100 px-3 position-relative z-index-2">
|
||||
${item.progress}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
},
|
||||
|
||||
// Remove block ui on initial draw
|
||||
onInitialDrawComplete: function () {
|
||||
handleAvatarPath();
|
||||
|
||||
|
||||
const target = element.closest('[data-kt-timeline-widget-4-blockui="true"]');
|
||||
const blockUI = KTBlockUI.getInstance(target);
|
||||
|
||||
if (blockUI.isBlocked()) {
|
||||
setTimeout(() => {
|
||||
blockUI.release();
|
||||
}, 1000);
|
||||
}, 1000);
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -700,7 +700,7 @@ var KTTimelineWidget4 = function () {
|
||||
const timeline = new vis.Timeline(element, items, groups, options);
|
||||
|
||||
// Prevent infinite loop draws
|
||||
timeline.on("currentTimeTick", () => {
|
||||
timeline.on("currentTimeTick", () => {
|
||||
// After fired the first time we un-subscribed
|
||||
timeline.off("currentTimeTick");
|
||||
});
|
||||
|
Reference in New Issue
Block a user