If the "Allow panel choice" option is enabled and there's only one panel available, it should simply not show the selector, instead just automatically default to the available panel.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Is there anyone who does *not* think this should be the default? It could be turned into a setting rather than an automatic workflow.

DamienMcKenna’s picture

DamienMcKenna’s picture

i.e. hide the choice selector if there's only one option available.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
3.3 KB

This seems to work.

DamienMcKenna’s picture

FileSize
4.36 KB

This adds a note to the "Allow panel choice" selector so the site builder is aware of what will happen.

DamienMcKenna’s picture

FileSize
4.64 KB

This one should actually work.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • Commit 72b5e00 on 7.x-3.x by DamienMcKenna:
    Issue #2155715 by DamienMcKenna: Don't show the "Allow" selector if...

Status: Fixed » Closed (fixed)

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