Opened 13 years ago

Closed 8 years ago

#1880 closed defect (wontfix)

Tree: node content isn't selected on the 1st node edit on the page

Reported by: ornus Owned by: ilia
Priority: high Milestone: future
Component: Dojox Version: 0.4
Keywords: tree editor needsreview Cc: sol@…
Blocked By: Blocking:

Description (last modified by dylan)

When editor to edit nodes is created for the 1st time the node content isn't selected in IE. On consecutive edit operations (2nd and up) node content is correctly selected.

To reproduce open "testswidget reeV3editor.html" in IE. Upon clicking "Edit" button 1st node can be edited but the content isn't selected. If you complete editing and click "Edit" again 1st node is editable again its content is selected.

Attachments (2)

treeV3_14.patch (697 bytes) - added by ornus 13 years ago.
Patch to fix the problem. Basically tree was waiting for the editor to load before issuing command to select text, when in reality tree registers for onLoad event after the editor is loaded.
treeV3_14.1.patch (1.0 KB) - added by ornus 13 years ago.
Improved fix. Previous fix worked for 1st edit, but prevented consecutive editing from selecting content. This fix ensures content is always selected.

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by ornus

Attachment: treeV3_14.patch added

Patch to fix the problem. Basically tree was waiting for the editor to load before issuing command to select text, when in reality tree registers for onLoad event after the editor is loaded.

Changed 13 years ago by ornus

Attachment: treeV3_14.1.patch added

Improved fix. Previous fix worked for 1st edit, but prevented consecutive editing from selecting content. This fix ensures content is always selected.

comment:1 Changed 13 years ago by bill

Milestone: 0.4.10.5

comment:2 Changed 13 years ago by bill

Component: WidgetsDojox
Milestone: 0.9
Summary: node content isn't selected on the 1st node edit on the pageTree: node content isn't selected on the 1st node edit on the page

Editing not supported in Dijit tree; moving to Dojox.

comment:3 Changed 12 years ago by dylan

Milestone: 1.2

comment:4 Changed 11 years ago by dylan

Description: modified (diff)
Milestone: 1.2future

comment:5 Changed 8 years ago by ben hockey

Keywords: needsreview added

comment:6 Changed 8 years ago by bill

Resolution: wontfix
Status: newclosed

Ilia isn't active w/dojo anymore, so I'll close this. There's a different ticket #2207 I have open to add editing to the dijit Tree, or an extension of the dijit Tree that has editing.

Note: See TracTickets for help on using tickets.