more reliable reimplementation of "create day sub note"

This commit is contained in:
zadam
2019-04-14 12:18:52 +02:00
parent 2b4413a1bd
commit e1e020c1a4
8 changed files with 81 additions and 21 deletions

View File

@@ -25,6 +25,9 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {
/** @property {object|null} entity whose event triggered this execution */
this.originEntity = originEntity;
// to keep consistency with backend API
this.dayjs = dayjs;
/**
* Activates note in the tree and in the note detail.
*