fix: 3 derniers ; → , dans les expressions Alpine (15 total)
- addTag(...); → addTag(...), - ctxAddExistingTag(t); → ctxAddExistingTag(t), - ctxAddNewTag(...); → ctxAddNewTag(...), Zéro ; restant dans les expressions Alpine. Vérifié par script. 73 tests OK
This commit is contained in:
@@ -593,7 +593,7 @@
|
|||||||
<button class="tag-add-btn" @click.stop="startTagInput(node)" title="Add tag">+</button>
|
<button class="tag-add-btn" @click.stop="startTagInput(node)" title="Add tag">+</button>
|
||||||
<span x-show="tagInputId === node.id" style="display:contents;">
|
<span x-show="tagInputId === node.id" style="display:contents;">
|
||||||
<input class="tag-input" x-ref="tagInputEl"
|
<input class="tag-input" x-ref="tagInputEl"
|
||||||
@keydown.enter="addTag(node.id, $event.target.value); $event.target.value=''"
|
@keydown.enter="addTag(node.id, $event.target.value), $event.target.value=''"
|
||||||
@keydown.escape="tagInputId=null"
|
@keydown.escape="tagInputId=null"
|
||||||
@blur="tagInputId=null"
|
@blur="tagInputId=null"
|
||||||
@click.stop
|
@click.stop
|
||||||
@@ -798,7 +798,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div x-show="ctxTagExistingOpen && ctxAvailTags.length > 0" style="padding:0 0 4px;background:var(--bg-tertiary);border-radius:6px;margin:2px 6px;">
|
<div x-show="ctxTagExistingOpen && ctxAvailTags.length > 0" style="padding:0 0 4px;background:var(--bg-tertiary);border-radius:6px;margin:2px 6px;">
|
||||||
<template x-for="t in ctxAvailTags" :key="'ctx-avail'+t.id">
|
<template x-for="t in ctxAvailTags" :key="'ctx-avail'+t.id">
|
||||||
<div class="ctx-item ctx-add-tag-item" @click.stop="ctxAddExistingTag(t); ctxTagExistingOpen=false">
|
<div class="ctx-item ctx-add-tag-item" @click.stop="ctxAddExistingTag(t), ctxTagExistingOpen=false">
|
||||||
<span class="ctx-tag-color" :style="{background: t.color}"></span>
|
<span class="ctx-tag-color" :style="{background: t.color}"></span>
|
||||||
<span style="flex:1;font-size:13px;" x-text="t.name"></span>
|
<span style="flex:1;font-size:13px;" x-text="t.name"></span>
|
||||||
<span style="font-size:10px;color:var(--text-dim);" x-text="t.count||''"></span>
|
<span style="font-size:10px;color:var(--text-dim);" x-text="t.count||''"></span>
|
||||||
@@ -824,7 +824,7 @@
|
|||||||
@click.stop
|
@click.stop
|
||||||
placeholder="Tag name..."
|
placeholder="Tag name..."
|
||||||
style="flex:1;">
|
style="flex:1;">
|
||||||
<button class="btn btn-primary" @click.stop="ctxAddNewTag($refs.ctxTagInput.value); $refs.ctxTagInput.value=''" style="padding:2px 10px;font-size:12px;">Add</button>
|
<button class="btn btn-primary" @click.stop="ctxAddNewTag($refs.ctxTagInput.value), $refs.ctxTagInput.value=''" style="padding:2px 10px;font-size:12px;">Add</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ctx-sep"></div>
|
<div class="ctx-sep"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user