Function Namespace vonline.Document
Defined in: document.js.
Constructor Attributes | Constructor Name and Description |
---|---|
vonline.Document(id)
application class, cares on initialization and maintenance
|
Method Attributes | Method Name and Description |
---|---|
initializes the bottom-menu
|
|
initializes the top-menu
|
|
load the categories for the document
|
|
loadSnapshot(id)
loads specific snapshot and display the corresponding document
|
|
redirect browser to document list
|
|
redo action (if possible)
|
|
save a snapshot of the current document / send document data to server
|
|
undo action (if possible)
|
|
disable undo/redo-button if there is nothing to undo/redo
|
Function Namespace Detail
vonline.Document(id)
application class, cares on initialization and maintenance
- Parameters:
- {number} id
- the document id
Method Detail
{vonline.Menu}
initBottomMenu()
initializes the bottom-menu
- Returns:
- {vonline.Menu}
{vonline.Menu}
initTopMenu()
initializes the top-menu
- Returns:
- {vonline.Menu}
loadCategories()
load the categories for the document
loadSnapshot(id)
loads specific snapshot and display the corresponding document
- Parameters:
- {number} id
- the snapshot id (-1 for latest snapshot)
openDocumentView()
redirect browser to document list
redoCommand()
redo action (if possible)
saveSnapshot()
save a snapshot of the current document / send document data to server
undoCommand()
undo action (if possible)
updateMenu()
disable undo/redo-button if there is nothing to undo/redo