Users with permissions for toolbar but not administration tray get "Uncaught TypeError: $orientationToggleButton[0] is undefined" in console

Created on 16 May 2023, over 1 year ago
Updated 16 May 2024, 7 months ago

Problem/Motivation

Users with permissions for toolbar but not administration tray get "Uncaught TypeError: $orientationToggleButton[0] is undefined" (updateTrayOrientation function in ToolbarVisualView.js:127)

Steps to reproduce

Create a user with permissions to "Use the toolbar", but not "Use the administration pages and help" and look at the console

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
ToolbarΒ  β†’

Last updated about 1 month ago

  • Maintained by
  • πŸ‡«πŸ‡·France @nod_
Created by

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024