[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX]: fix move to trash is not working on the edit task list page

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68924bb2a2a2_2cd5cc888846@gitlab-sidekiq-low-urgency-cpu-bound-v2-6b9b65f69d-2jrrh.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
967384a3 by Grace Nshokano at 2025-08-05T18:12:50+00:00
[FIX]: fix move to trash is not working on the edit task list page
---
* [FIX]: fix: addressing the comment and apply comment left on my MR

See merge request tikiwiki/tiki!8070

- - - - -


1 changed file:

- templates/tiki-user_tasks_edit.tpl


Changes:

=====================================
templates/tiki-user_tasks_edit.tpl
=====================================
@@ -35,11 +35,10 @@
                 </a>
             </span>
         {else}
-            <span class="tabbut">
-                <a href="tiki-user_tasks.php?taskId={$taskId}&amp;save=on&amp;move_into_trash=on" class="tablink">
-                    {icon name='trash' title="{tr}Move to trash{/tr}"} {tr}Move to Trash{/tr}
-                </a>
-            </span>
+            <button type="submit" name="move_into_trash" value="on" class="tablink" style="background:none; border:none; cursor:pointer;">
+               {icon name='trash'} {tr}Move to Trash{/tr}
+            </button>
+            <input type="hidden" name="save" value="on" />
         {/if}
     {/if}
 
@@ -299,4 +298,4 @@
             </tr>
         {/if}
     </table>
-</form>
+</form>
\ No newline at end of file



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/967384a32e47dc097bfd14adf9bc5f4ab714cccc

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/967384a32e47dc097bfd14adf9bc5f4ab714cccc
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.