Panopoly Admin ruins the core Menu module's pre-fill of the menu link title from whatever is in the title input. Patch incoming to restore this by adapting the JS within Panopoly Admin.

Comments

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new2.42 KB

Patch!

dsnopek’s picture

Status: Needs review » Needs work

I haven't tested it, but it looks good! It would be awesome to somehow do this without having to duplicate all that code from menu.js, but the way it's written, I don't think that's possible. :-/

Could you add something to the comments that specifically states that this code was copy-pasted from menu.js, so people know they aren't supposed to edit it? Thanks!

mglaman’s picture

Status: Needs work » Needs review
StatusFileSize
new2.54 KB

Yeah, I wish there was a better way too. Here's updated patch with better description.

dsnopek’s picture

Sweet, thanks, it looks good!

hefox’s picture

This looks correct, just added similar to openatrium and went to check of panopoly had the same issue.

hefox’s picture

Status: Needs review » Reviewed & tested by the community
dsnopek’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

  • dsnopek committed 99960f3 on 7.x-1.x
    Update Panopoly Admin for #2317411 by mglaman: Added Restore automatic...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.