A small change I made to function menu_edit_menu_submit() wasn't quite right. It should only append 'menu-' to the name for new custom menus, but right now it appends it to all when added OR edited.

Comments

pwolanin’s picture

StatusFileSize
new2.15 KB

minor code changes to avoid repeating the same string concatentation many times with the static string.

chx’s picture

StatusFileSize
new1.55 KB

I more like this way.

chx’s picture

Ignore my patch it's broken, let's go with #1 .

pwolanin’s picture

Status: Needs review » Needs work

need to fix the validation function too.

pwolanin’s picture

Status: Needs work » Needs review
StatusFileSize
new3.15 KB

with validation function fix too

webernet’s picture

Status: Needs review » Reviewed & tested by the community

Tested, and everything appears to be working properly.

flk’s picture

test and seems to be working fine,
rerolled against head.

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed (although it applied with a bit of fuzz, it was OK).

Anonymous’s picture

Status: Fixed » Closed (fixed)