mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[Edit] Update EditorCapability comments
This commit is contained in:
@ -28,8 +28,8 @@ define(
|
|||||||
* A capability that implements an editing 'session' for a domain
|
* A capability that implements an editing 'session' for a domain
|
||||||
* object. An editing session is initiated via a call to .edit().
|
* object. An editing session is initiated via a call to .edit().
|
||||||
* Once initiated, any persist operations will be queued pending a
|
* Once initiated, any persist operations will be queued pending a
|
||||||
* subsequent call to [.save()](@link #save) or [.cancel()](@link
|
* subsequent call to [.save()](@link #save) or [.finish()](@link
|
||||||
* #cancel).
|
* #finish).
|
||||||
* @param transactionService
|
* @param transactionService
|
||||||
* @param domainObject
|
* @param domainObject
|
||||||
* @constructor
|
* @constructor
|
||||||
@ -45,7 +45,7 @@ define(
|
|||||||
/**
|
/**
|
||||||
* Initiate an editing session. This will start a transaction during
|
* Initiate an editing session. This will start a transaction during
|
||||||
* which any persist operations will be deferred until either save()
|
* which any persist operations will be deferred until either save()
|
||||||
* or cancel() are called.
|
* or finish() are called.
|
||||||
*/
|
*/
|
||||||
EditorCapability.prototype.edit = function () {
|
EditorCapability.prototype.edit = function () {
|
||||||
this.transactionService.startTransaction();
|
this.transactionService.startTransaction();
|
||||||
|
Reference in New Issue
Block a user