fixed runOnAttributeChange event

This commit is contained in:
azivner
2018-08-10 14:31:57 +02:00
parent 965dbcbc9a
commit 9e96272eb3
8 changed files with 21 additions and 18 deletions

View File

@@ -44,7 +44,7 @@ function ScriptApi(startNote, currentNote, originEntity = null) {
params: prepareParams(params),
startNoteId: startNote.noteId,
currentNoteId: currentNote.noteId,
originEntityName: originEntity ? originEntity.constructor.tableName() : null,
originEntityName: originEntity ? originEntity.constructor.tableName : null,
originEntityId: originEntity ? originEntity.noteId : null
});