[MAGNOLIA-417] clicking in the void should unselect the selected node Created: 27/May/05  Updated: 03/Dec/13  Resolved: 03/Dec/13

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Philipp Bärfuss Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File tree.js.diff    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Comments   
Comment by Philipp Bracher [ 17/May/06 ]

will try to do it

Comment by Oliver Lietz [ 22/Apr/07 ]

Clicking in the view to unselect node (and handling this in mainDivReset()) didn't work without writing more code, because clicking on a node also fires mainDivReset().
So clicking on selected node deselects it.

Comment by Oliver Lietz [ 22/Apr/07 ]

this small thing should do it

if (this.selectedNode == sNode)

{ this.selectedNodeReset(); }

else

{ [...] }
Comment by Oliver Lietz [ 23/Apr/07 ]

When right-clicking on a selected node, the selected node will be deselected also instead of showing the context menu of this node. Right-clicking on a not selected node works as expected and shows the menu. Needs to be improved for better usability.

Generated at Mon Feb 12 03:17:13 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.