Skip to content
Snippets Groups Projects
Commit 5a1b0034 authored by llaffont's avatar llaffont
Browse files

Correction afficher/masquer les clés de configuration

parent cc4d442a
Branches
Tags
No related merge requests found
......@@ -72,15 +72,16 @@ var autoHideShowConfigurationModule = function() {
autoHideShowTagOnParentHover('.edit_menu', '#menu_horizontal');
}
var autoHideShowTagOnParentHover = function (selector, parent_selector) {
$(selector).hide();
$(selector).parents(parent_selector).hover(
var autoHideShowTagOnParentHover = function (child_selector, parent_selector) {
hide_selector = parent_selector + ' ' + child_selector;
$(hide_selector).hide();
$(child_selector).parents(parent_selector).hover(
function() {
$(this).find(selector).fadeIn();
$(this).find(child_selector).fadeIn();
},
function() {
$(this).find(selector).fadeOut();
$(this).find(child_selector).fadeOut();
}
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment