Tree container functionality doesn't work for ajax-based tree nodes
Components
Labels
None
Description
Context Information
None
Additional information (do not use)
None
Attachments
1
Activity
Show:
Dmitry Andrejev November 30, 2010 at 6:48 PM
Closing released 5.1.1 task.
Alex August 29, 2010 at 9:55 AM
Fix committed to [b]5.1.x branch/b. Commit Message:
Fixes #0000806: Tree container functionality doesn't work for ajax-based tree nodes
Dmitry Andrejev July 30, 2010 at 10:48 PM
Reviewed and tested good. Please commit.
Fixed
Priority
Assignee
Reporter
Alex
AlexDeveloper
Alex
AlexPatch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
806
External issue URL
Fix versions
Affects versions
Created July 23, 2010 at 9:01 PM
Updated December 29, 2024 at 9:16 PM
Resolved November 30, 2010 at 6:48 PM
Here I will talk about left frame of administrative console, where main navigation menu is located. We usually call it "tree", since it looks like one.
There 2 tree node types in tree:
folder
item
Folder can have items inside them, items can't have anything inside them.
Folders can be containers (folder click actually click on folder's first item) or not (folder click performs click on that folder).
Items of the folder could be defined from the start and could be loaded dynamically via ajax.
When folder contents is static and it is container, then all works.
When folder contents is dynamic and it is container, then folder click happens instead of click on it's first item.
To test need to set 'container' => true and remove 'onclick' ... from main catalog tree folder (defined in "sections_config.php").