Modified dirty function

This commit is contained in:
Henry
2016-05-11 17:58:03 -07:00
parent 44f4a82fa1
commit c305fba0a7
4 changed files with 8 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ define(
* modifications since the last persist, false otherwise.
*/
EditorCapability.prototype.dirty = function () {
return (this.domainObject.getModel().modified || 0) > (this.domainObject.getModel().persisted || 0);
return this.transactionService.size() > 0;
};
return EditorCapability;