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.

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
StatusFileSize
new3.3 KB

This seems to work.

damienmckenna’s picture

StatusFileSize
new4.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

StatusFileSize
new4.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.