File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,9 @@ github.com/RoaringBitmap/roaring v1.9.4 h1:yhEIoH4YezLYT04s1nHehNO64EKFTop/wBhxv
81
81
github.com/RoaringBitmap/roaring v1.9.4 /go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90 =
82
82
github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.3 h1:BP0HiyNT3AQEYi+if3wkRcIdQFHtsw6xX3Kx0glckgA =
83
83
github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.3 /go.mod h1:hMNtySovKkn2gdDuLqnqveP+mfhUSaBdoBcr2I7Zt0E =
84
- github.com/alecthomas/assert/v2 v2.7 .0 h1:QtqSACNS3tF7oasA8CU6A6sXZSBDqnm7RfpLl9bZqbE =
85
- github.com/alecthomas/assert/v2 v2.7 .0 /go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k =
84
+ github.com/alecthomas/assert/v2 v2.11 .0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0 =
85
+ github.com/alecthomas/assert/v2 v2.11 .0 /go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k =
86
86
github.com/alecthomas/chroma/v2 v2.2.0 /go.mod h1:vf4zrexSH54oEjJ7EdB65tGNHmH3pGZmVkgTP5RHvAs =
87
- github.com/alecthomas/chroma/v2 v2.14.0 h1:R3+wzpnUArGcQz7fCETQBzO5n9IMNi13iIs46aU4V9E =
88
- github.com/alecthomas/chroma/v2 v2.14.0 /go.mod h1:QolEbTfmUHIMVpBqxeDnNBj2uoeI4EbYP4i6n68SG4I =
89
87
github.com/alecthomas/chroma/v2 v2.15.0 h1:LxXTQHFoYrstG2nnV9y2X5O94sOBzf0CIUpSTbpxvMc =
90
88
github.com/alecthomas/chroma/v2 v2.15.0 /go.mod h1:gUhVLrPDXPtp/f+L1jo9xepo9gL4eLwRuGAunSZMkio =
91
89
github.com/alecthomas/repr v0.0.0-20220113201626-b1b626ac65ae /go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8 =
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ export function initGlobalDeleteButton(): void {
17
17
// Some model/form elements will be filled by `data-id` / `data-name` / `data-data-xxx` attributes.
18
18
// If there is a form defined by `data-form`, then the form will be submitted as-is (without any modification).
19
19
// If there is no form, then the data will be posted to `data-url`.
20
- // TODO: it's not encouraged to use this method. `show-modal` does far better than this.
20
+ // TODO: do not use this method in new code. `show-modal` / `link-action(data-modal-confirm)` does far better than this.
21
+ // FIXME: all legacy `delete-button` should be refactored to use `show-modal` or `link-action`
21
22
for ( const btn of document . querySelectorAll < HTMLElement > ( '.delete-button' ) ) {
22
23
btn . addEventListener ( 'click' , ( e ) => {
23
24
e . preventDefault ( ) ;
You can’t perform that action at this time.
0 commit comments