...
- close the task and go back to the project management tool and optionally finish the task
- This button is enabled by default and can be deactivated by setting runtimeOptions.editor.toolbar.hideLeaveTaskButton to 1
- close the task and close the window (works only if translate5 was opened via Javascript window.open from your tool!)
- This button is disabled by default and can be activated by setting runtimeOptions.editor.toolbar.hideCloseButton to 0
- to show a dialog where the user can decide if the task should be closed or leaved open use this config: runtimeOptions.editor.toolbar.askFinishOnClose to 1
- this config is important in editor only mode because this is the way how a user can finish his job
As alternative translate5 provides there fore a simple JavaScript class to interact with translate5:
...