#5109 - core_menus.js $cms.templates.menuEditorBranch: Weird behavior when adding child branches

  • By
  • Added
  • 4 views
Identifier #5109
Issue type Minor issue (breaks specific functionality)
Title core_menus.js $cms.templates.menuEditorBranch: Weird behavior when adding child branches
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description When trying to add child branches in the Menu management (by clicking the link), instead of a child branch being created, two new parent branches are created.

* the parentId is never calculated [always empty string despite the i parameter existing in template data]
* $dom.on(container, 'click', '.js-click-add-new-menu-item', function () { is firing twice
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated