#5110 - Permissions tree editor: Changing display (group) results in weird console error / tree breaking

  • By
  • Added
  • 0 views
Identifier #5110
Issue type Trivial issue (does not break functionality)
Title Permissions tree editor: Changing display (group) results in weird console error / tree breaking
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description When switching groups on the permissions tree editor (only on the first time), the tree malfunctions and a console error is thrown.

I wonder if it has something to do with the pre-expansion of the Welcome Zone item. This is not expanded on page load. But when changing groups, it will try expanding itself automatically.
Steps to reproduce

Additional information Uncaught (in promise) TypeError: $dom.elArg(): Argument 1 must be a {Element|string}, "Undefined" provided.
at Object.elArg (global_non_minified.js?1669915435:7239:15)
at Object.animate (global_non_minified.js?1669915435:9067:19)
at Object.fadeIn (global_non_minified.js?1669915435:9301:21)
at TreeList.renderTree (tree_list_non_minified.js?1669915435:149:22)
at TreeList.response (tree_list_non_minified.js?1669915435:138:18)
at tree_list_non_minified.js?1669915435:523:30
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