mirror of
https://github.com/zadam/trilium.git
synced 2025-11-18 03:00:41 +01:00
bulk action dialog converted to widget
This commit is contained in:
@@ -5,7 +5,7 @@ const TPL = `
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<div style="display: flex; align-items: center">
|
||||
<div style="margin-right: 10px;">Rename label from:</div>
|
||||
<div style="margin-right: 10px; flex-shrink: 0;">Rename label from:</div>
|
||||
|
||||
<input type="text"
|
||||
class="form-control old-label-name"
|
||||
@@ -45,7 +45,7 @@ export default class RenameLabelBulkAction extends AbstractBulkAction {
|
||||
oldLabelName: $oldLabelName.val(),
|
||||
newLabelName: $newLabelName.val()
|
||||
});
|
||||
}, 1000)
|
||||
}, 1000);
|
||||
|
||||
$oldLabelName.on('input', () => spacedUpdate.scheduleUpdate());
|
||||
$newLabelName.on('input', () => spacedUpdate.scheduleUpdate());
|
||||
|
||||
Reference in New Issue
Block a user