Newer Version Available
setTabUnsavedChanges()
Sets the unsaved changes icon (
)
on subtabs to indicate unsaved data. This method is only available in API version 23.0
or later.
)
on subtabs to indicate unsaved data. This method is only available in API version 23.0
or later.Syntax
Arguments
Sample Code API Version 23.0 or Later–Visualforce
Response
This method returns its response in an object in a callback method. The response object contains the following field:
| Name | Type | Description |
|---|---|---|
| success | boolean | true if update was successful; false if update wasn't successful. |
Sample Code API Version 25.0 or Later–Visualforce
Response
This method is asynchronous, so it returns its response in an object in a callback method. The response object contains the following field:
| Name | Type | Description |
|---|---|---|
| success | boolean | true if returning the focused subtab ID was successful; false if if returning the focused subtab ID wasn't successful. |