The Dreamweaver JavaScript API > File manipulation functions > dreamweaver.revertDocument() |
Availability
Dreamweaver 3.0
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 (the value returned by dreamweaver.getDocumentDOM()).
Returns
Nothing.
Enabler
dreamweaver.canRevertDocument()