Monday, November 08, 2010 at 12:00 AM.

scripting2Suite.editor.initPostAtts

on initPostAtts (adratts) {
	<<Changes
		<<6/26/10; 6:16:05 AM by DW
			<<No longer maintain atts.flPublished, atts.flSaved. Add atts.flPreview, which defaults false.
		<<6/1/10; 10:46:04 AM by DW
			<<Created. 
	if not defined (adratts^.type) {
		adratts^.type = "scripting2Post"};
	if not defined (adratts^.whenCreated) {
		adratts^.whenCreated = clock.now ()};
	if not defined (adratts^.flPreview) {
		adratts^.flPreview = false};
	if not defined (adratts^.versionClient) { //7/3/10 by DW
		adratts^.versionClient = scripting2Info.version}}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.