WebDAVTools.releaseLock
This is an example how to release the lock on unloading a document.
Editor.addEventListener("unload", releaseLock);
function releaseLock(evt)
{
WebDAVTools.releaseLock(evt.document.getDocumentURI());
}
Release the lock on opened document
- Documentation
- › API
- › Global objects API
- › WebDAVTools.releaseLock
WebDAVTools.releaseLock( xmlURL : URL) : Object
: URL) : ObjectArguments
- xmlURL
- URL. Location of the document
Return Value
locked (boolean) contains the lock status of the opened document. .message (text) contains the error message while locking the document.