Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 398507

Summary: [sites] Icon drawn in the wrong place
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Mark Macdonald CLA 2013-01-18 10:29:46 EST
Created attachment 225820 [details]
screenshot

1. Create a new site
2. Click "convert to self-hosting", browse to your orion.client repo location, click OK
3. In the Mappings section, focus the Path field of the first row and use the arrow keys to move the editing caret around
4. The 'file' icon jumps to the left. This is a DOM bug i introduced while removing the dojo from this component.
Comment 1 Mark Macdonald CLA 2013-01-18 12:28:17 EST
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=0c87b6e58c556491eb3cc2324ae68394b81505eb

The correct replacement for dojo.place(newNode, oldNode, "replace") is of course oldNode.parentNode.replaceChild(newNode, oldNode)