When selecting an item from the root level, the next level is automatically loaded and shown in a new list. However, once you add an item to the dropbox, all the lists disappear except the root one. This list keeps its selection which prevents you from loading the next level unless you choose another item first. This makes sense as the onchange event cannot fire unless the selection has actually changed. In order to temporarily solve this, the patch simply resets the selection in all the lists once an item has been added to the dropbox. This forces the user to always start from scratch when adding a new item which is preferable.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dpe-itminds created an issue. See original summary.

dpe-itminds’s picture

Attached patch that temporarily solves the problem.

Gold’s picture

Status: Active » Needs review

Setting to Needs Review triggers the automated testing, yeah?

Heh... It's a JS file. No automated testing needed.

I should be able to test this this week though.

Gah... "this week"... Life got busy, haven't had HS crop up in the project yet.

  • stefan.r committed 72d6352 on 7.x-3.x authored by dpe-itminds
    Issue #2643912 by dpe-itminds: Remembering selection prevents next level...
stefan.r’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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

stefan.r’s picture

Status: Closed (fixed) » Needs work

This introduced a critical regression: #2735917: Updated Core and Module. Terms are now not saving.

Reverted the commit and setting back to NW

Gold’s picture

Status: Needs work » Closed (outdated)

It's been a few years since this was last worked on. I am no longer seeing the behaviour described.

Closing as out dated.

If this is found to still be an issue please reopen and update the summary with detailed steps to replicate.