[FIX] #567
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -324,7 +324,7 @@ function checkSequence(element) {
|
||||
|
||||
if (
|
||||
stageOrder.indexOf(parseInt(stageId)) !=
|
||||
stageOrder.indexOf(parseInt(preStageId)) + 1 &&
|
||||
stageOrder.indexOf(parseInt(preStageId)) + 1 &&
|
||||
stage.type != "cancelled"
|
||||
) {
|
||||
Swal.fire({
|
||||
@@ -486,7 +486,7 @@ window.confirm = function (message) {
|
||||
});
|
||||
};
|
||||
|
||||
function handleHtmxTarget(event, path , verb){
|
||||
function handleHtmxTarget(event, path, verb) {
|
||||
var targetElement;
|
||||
var hxTarget = $(event.target).attr("hx-target");
|
||||
if (hxTarget) {
|
||||
@@ -570,6 +570,12 @@ $(document).on("htmx:beforeRequest", function (event, data) {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on('click', '.select2-selection__choice__remove', function (event) {
|
||||
if ($('[role="tooltip"]:visible').length) {
|
||||
$('[role="tooltip"]').hide();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("keydown", function (event) {
|
||||
// Check if the cursor is not focused on an input field
|
||||
var isInputFocused = $(document.activeElement).is(
|
||||
|
||||
Reference in New Issue
Block a user