mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix dialogs
This commit is contained in:
		| @@ -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')); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user