add mouseover and mouseleave events for dropfoldermenu

This commit is contained in:
Uwe Steinmann 2020-12-10 13:48:29 +01:00
parent 46264c49d6
commit 401ecf1114

View File

@ -1231,6 +1231,14 @@ $(document).ready(function() { /* {{{ */
$(this).parent().hide();
e.stopPropagation();
});
$("body").on("mouseenter", "#main-menu-dropfolderlist ul.dropdown-menu li a", function(e) {
$(e.currentTarget).find('.dropfolder-menu-img').css('display', 'inline');
});
$("body").on("mouseleave", "#main-menu-dropfolderlist ul.dropdown-menu li a", function(e) {
$(e.currentTarget).find('.dropfolder-menu-img').hide();
});
}); /* }}} */
(function( SeedDMSTask, $, undefined ) { /* {{{ */