diff --git a/platform/commonUI/edit/src/services/TransactionService.js b/platform/commonUI/edit/src/services/TransactionService.js index 00aa91e6e4..3c234ca882 100644 --- a/platform/commonUI/edit/src/services/TransactionService.js +++ b/platform/commonUI/edit/src/services/TransactionService.js @@ -116,7 +116,7 @@ define( * @returns {number} size of the active transaction */ TransactionService.prototype.size = function () { - return this.isActive() ? this.activeTransaction.size() : 0; + return this.isActive() ? this.activeTransaction().size() : 0; }; return TransactionService;