mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
fix putting new attribute correctly into becca
This commit is contained in:
@@ -44,7 +44,7 @@ export default class ExecuteScriptBulkAction extends AbstractBulkAction {
|
||||
|
||||
const spacedUpdate = new SpacedUpdate(async () => {
|
||||
await this.saveAction({ script: $script.val() });
|
||||
}, 1000)
|
||||
}, 1000);
|
||||
|
||||
$script.on('input', () => spacedUpdate.scheduleUpdate());
|
||||
|
||||
|
||||
@@ -431,7 +431,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
notes = JSON.parse(jsonStr);
|
||||
}
|
||||
catch (e) {
|
||||
logError(`Cannot parse ${jsonStr} into notes for drop`);
|
||||
logError(`Cannot parse JSON '${jsonStr}' into notes for drop`);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user