mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 20:21:43 +08:00
fix dialogs
This commit is contained in:
parent
c83ca78565
commit
96a7b4e45e
6 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import utils from "../services/utils.js";
|
||||
import LinkMapService from "../services/link_map.js";
|
||||
import noteDetailService from "../services/note_detail.js";
|
||||
import appContext from "../services/app_context.js";
|
||||
|
||||
const $linkMapContainer = $("#link-map-container");
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import libraryLoader from "../services/library_loader.js";
|
|||
import toastService from "../services/toast.js";
|
||||
import utils from "../services/utils.js";
|
||||
import noteDetailService from "../services/note_detail.js";
|
||||
import appContext from "../services/app_context.js";
|
||||
|
||||
const $dialog = $('#markdown-import-dialog');
|
||||
const $importTextarea = $('#markdown-import-textarea');
|
||||
|
|
|
@ -5,12 +5,11 @@ import treeUtils from "../services/tree_utils.js";
|
|||
import toastService from "../services/toast.js";
|
||||
import treeCache from "../services/tree_cache.js";
|
||||
import treeChangesService from "../services/branches.js";
|
||||
import treeService from "../services/tree.js";
|
||||
import appContext from "../services/app_context.js";
|
||||
|
||||
const $dialog = $("#move-to-dialog");
|
||||
const $form = $("#move-to-form");
|
||||
const $noteAutoComplete = $("#move-to-note-autocomplete");
|
||||
const $movePrefix = $("#move-prefix");
|
||||
const $noteList = $("#move-to-note-list");
|
||||
|
||||
let movedNodes;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import noteDetailService from '../services/note_detail.js';
|
||||
import utils from "../services/utils.js";
|
||||
import appContext from "../services/app_context.js";
|
||||
|
||||
const $dialog = $("#note-info-dialog");
|
||||
const $noteId = $("#note-info-note-id");
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import noteDetailService from '../services/note_detail.js';
|
||||
import appContext from "../services/app_context.js";
|
||||
import utils from "../services/utils.js";
|
||||
|
||||
const $dialog = $("#note-source-dialog");
|
||||
|
|
|
@ -32,7 +32,7 @@ export default class NoteActionsWidget extends TabAwareWidget {
|
|||
this.$showLinkMapButton.on('click', e => this.triggerEvent(e, 'showLinkMap'));
|
||||
|
||||
this.$showSourceButton = this.$widget.find('.show-source-button');
|
||||
this.$showSourceButton.on('click', e => this.triggerEvent(e, 'showSource'));
|
||||
this.$showSourceButton.on('click', e => this.triggerEvent(e, 'showNoteSource'));
|
||||
|
||||
this.$showNoteInfoButton = this.$widget.find('.show-note-info-button');
|
||||
this.$showNoteInfoButton.on('click', e => this.triggerEvent(e, 'showNoteInfo'));
|
||||
|
|
Loading…
Reference in a new issue