removed obsolete isoDateXXX API methods

This commit is contained in:
zadam
2019-03-14 20:49:10 +01:00
parent ef40c66344
commit 0885e60b80
25 changed files with 369 additions and 258 deletions

View File

@@ -230,13 +230,13 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {
* @method
* @returns {string} content of active note (loaded into right pane)
*/
this.getActiveNoteContent = noteDetailService.getCurrentNoteContent;
this.getActiveNoteContent = noteDetailService.getActiveNoteContent;
/**
* @method
* @returns {NoteFull} active note (loaded into right pane)
*/
this.getActiveNote = noteDetailService.getCurrentNote;
this.getActiveNote = noteDetailService.getActiveNote;
/**
* This method checks whether user navigated away from the note from which the scripts has been started.
@@ -248,7 +248,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {
* @return {boolean} returns true if the original note is still loaded, false if user switched to another
*/
this.isNoteStillActive = () => {
return this.originEntity.noteId === noteDetailService.getCurrentNoteId();
return this.originEntity.noteId === noteDetailService.getActiveNoteId();
};
/**