Each time I save a node, the expanded state of the menu item is lost.
I use also the menu settings per content type module (ctm).

Comments

remydenton’s picture

Status: Active » Needs review
StatusFileSize
new673 bytes

I'm seeing this same issue. Looks like the problem is that the _multiple_node_menu_submit() function doesn't take the value of 'expanded' into account when a node gets updated. I'm attaching a simple patch to deal with this particular problem, though it seems like a more thorough re-thinking of how this is working is probably necessary.

rdeknijf’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Status: Needs review » Needs work

Seeing the same issue, patch provided by remydenton in #1 solves the issue. Now trying to figure out how to contribute.

rdeknijf’s picture

Status: Needs work » Needs review
StatusFileSize
new555 bytes

My previous statement turned out to have a negative tail, the link was expanded but got its 'has_children' reset to 0. I've had to add a fix for this.
My patch includes remydenton's patch.