Commit 8f89c48
Keep attachments on tasklist update (go-gitea#16750) (go-gitea#16757)
* Send attachments too.
* Use tasklist flag.
* use action="ignoreAttachments" instead of "tasklist"
* Use boolean parameter.
* when the update request doesn't intend to update attachments (eg: change checkbox state), ignore attachment updates (go-gitea#16762)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>1 parent 797b36c commit 8f89c48
2 files changed
+21
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1728 | 1728 | | |
1729 | 1729 | | |
1730 | 1730 | | |
1731 | | - | |
1732 | | - | |
1733 | | - | |
1734 | | - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1735 | 1737 | | |
1736 | 1738 | | |
1737 | 1739 | | |
| |||
2128 | 2130 | | |
2129 | 2131 | | |
2130 | 2132 | | |
2131 | | - | |
2132 | | - | |
2133 | | - | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
2138 | 2133 | | |
2139 | 2134 | | |
2140 | 2135 | | |
| |||
2156 | 2151 | | |
2157 | 2152 | | |
2158 | 2153 | | |
2159 | | - | |
2160 | | - | |
2161 | | - | |
2162 | | - | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
2163 | 2167 | | |
2164 | 2168 | | |
2165 | 2169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments