Commit 3906c4a
committed
Remove _Delete_ if
This was previously set up to disable the delete button. That's actually preferrable. That only works, however, if the _Delete_ button is an actual `<button />` element. Since this "button" is actually an `<a />` element, the `disable` attribute isn't supported. There are ways to get this to work (likely removing the `href` and any `onclick` handlers) but those are more involved. For now, a quick fix is just to get rid of the button entirely. (Which is actually how we handle the _Versions_, _Cancel_, and even the _Delete_ button in the `IsNew` state, so perhaps it's actually preferrable?)DisableDelete
1 parent 330fba0 commit 3906c4a
1 file changed
Lines changed: 1 addition & 6 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 6 | | |
11 | 7 | | |
12 | 8 | | |
| |||
39 | 35 | | |
40 | 36 | | |
41 | 37 | | |
42 | | - | |
| 38 | + | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
46 | 42 | | |
47 | | - | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
| |||
0 commit comments