Hi When using Special menu items with nolink with jQuery sf-Touchscreen plugin enabled it duplicates the nolink menu item. Should this issue be posted on Special menu items?

Comments

mehrpadin’s picture

Category: Support request » Feature request

Hey there,

You're right it doesn't make sense! however, if all of your parents are nonlinks, why to choose to clone parents? you can disable it at block configuration, will mark this as a feature request and added it to my to-do list.

jami’s picture

Similar problem here. It's probably not the right fix, but this works for me.

In libraries/superfish/sftouchscreen.js, replace:
if (options.behaviour == 0) {

with:
if (options.behaviour == 0 && typeof item.attr('href') !== "undefined"){

adamps’s picture

Version: 7.x-1.9 » 7.x-2.0

Just to clarify - the change in #2 isn't needed.

As per #1, you can disable this behaviour in the UI. Make sure you are running module version at least 7.x-2.0, and there is an option to control it on the block configuration (superfish plugins->sf-touchscreen->Select a behaviour).

The latest superfish "cloned parent links" might allow some users to dispense with special menu items - if you don't mind the restriction that the name of the parent and of the cloned child must be the same.

lobsterr’s picture

Status: Active » Closed (outdated)