double click edit + tooltips

This commit is contained in:
2026-03-03 14:45:53 +01:00
parent 4cdfbace03
commit 5ed4ca19fc
4 changed files with 18 additions and 8 deletions

View File

@@ -775,9 +775,15 @@
<script>
const openProjectPartCookieName = 'openProjectPart' + @Html.Raw(Model.Project.IdProject);
$(document).ready(function() {
document.body.addEventListener('htmx:beforeRequest',
function(evt) {
$('[data-toggle=tooltip]').tooltip('hide');
});
document.body.addEventListener('htmx:afterSettle',
function(evt) {
$('.select2').select2();
tooltips();
$('.inp-tbl-edit-calculate-price').on("input",
function() {