Download & Extend

Interferes with other Javascript on page

Project:Hierarchical Select
Version:6.x-3.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When I'm editing a node with a Hierarchical Select taxonomy, some of the other javascript on the page stops working.

In particular my add content menu and my accordion menu. Do you know of anything in HS that might conflict with my script?

Thanks.

// Begin Accordion Menu
$("#block-menu-menu-quick-menu div.content>ul.menu>li>a:not(:first)").wrap("").before("");
$("#block-menu-menu-quick-menu div.content ul.menu>li>a:first").wrap("").before("");
$("#block-menu-menu-quick-menu ul.menu ul.menu:not(:first)").hide();
$("#block-menu-menu-quick-menu ul.menu .menu-head").hoverIntent(function() {
$("#block-menu-menu-quick-menu div.content>ul.menu>li>ul.menu:visible").hide("slide");
$(this).siblings('ul.menu').show("slide");
$("div.menu-head").removeClass("menu-open");
$(this).addClass("menu-open");
$("div.menu-head span").removeClass("menu-open");
$(this).children('span').addClass("menu-open");
$(this).next('ul.menu').children('li').hoverIntent(function() {
$(this).children('ul.menu').show("slide");
$(this).children('ul.menu').children('li').hoverIntent(function() {
$(this).children('ul.menu').show("slide");
},
function (){
$(this).children('ul.menu').hide("slide");
});
},
function (){
$(this).children('ul.menu').hide("slide");
});
},
function (){
});
// End Accordion Menu
// Begin Add Content Menu
$('#closure-blocks ul.menu, #closure-blocks .menu ul.menu').hoverIntent(function(){
$('#closure-blocks .menu ul.menu').show('slide');
},
function () {
$('#closure-blocks .menu ul.menu').hide('slide');
});
// End Add Content Menu

Comments

#1

Status:active» closed (fixed)

No, it doesn't make sense. Please provide a demo page. Until you do that, I'm closing this issue, since I'm cleaning up the issue queue. Feel free to mark as active again when you've done that.

nobody click here