Closed Bug 509830 Opened 15 years ago Closed 15 years ago

newfile command keeps the editor contents from the last file

Categories

(Skywriter Graveyard :: Editor, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dion, Assigned: dion)

Details

When you run "newfile foo", whatever was in the editor buffer stays there.

This was due to a check in newFile:

 if (content !== undefined) {
   // put in the new stuff
 }

this was false in the new file context. I am not sure how collab on fits in (when it loads up content and kicks things off) so I changed things to fix things in the collab off case. It feels like we should run the insertDocument("") type work even in collab mode when you create a NEW file though Joe?
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.