Specifications
457
dreamweaver.revertDocument()
Availability
Dreamweaver 3
Description
Reverts the specified document to the previously saved version.
Arguments
documentObject
documentObject
 is the object at the root of a document’s DOM tree, which is the value that 
dreamweaver.getDocumentDOM()) returns.
Returns
Nothing.
Enabler
“dreamweaver.canRevertDocument()” on page 422
dreamweaver.saveAll()
Availability
Dreamweaver 3
Description
Saves all open documents, opening the Save As dialog box for any documents that have not 
previously been saved.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.canSaveAll()” on page 422
dreamweaver.saveDocument()
Availability
Dreamweaver 2
Description
Saves the specified file on a local drive.
Note: In Dreamweaver 2, if the file is read-only, Dreamweaver tries to check it out. If the document is still read-only 
after this attempt, or if it cannot be created, an error message appears.










