2
0
forked from Wavyzz/dolibarr

Merge pull request #17506 from atm-gauthier/FIX_column_adding_management_in_dom_added_with_ajax_case

FIX : if dom is added with ajax, selector needs to keep working
This commit is contained in:
Laurent Destailleur
2021-05-06 16:24:26 +02:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ if (!defined('JS_JQUERY_DISABLE_DROPDOWN')) {
var lastopendropdown = null;
// Click onto the link "link to" or "hamburger", toggle dropdown
$(".dropdown dt a").on(\'click\', function () {
$(document).on(\'click\', \'.dropdown dt a\', function () {
console.log("toggle dropdown dt a");
//$(this).parent().parent().find(\'dd ul\').slideToggle(\'fast\');