Mailing List Archive

rt branch 5.0/fix-new-ticket-from-asset-modal created. rt-5.0.5-74-ge67d8832e3
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/fix-new-ticket-from-asset-modal has been created
at e67d8832e3d077e6833b346c64ec5c0341887e33 (commit)

- Log -----------------------------------------------------------------
commit e67d8832e3d077e6833b346c64ec5c0341887e33
Author: Ronaldo Richieri <ronaldo@bestpractical.com>
Date: Thu Dec 7 15:38:58 2023 -0300

Fix Create Linked Ticket modal on Self Service Asset page

ffe0864f migrated some modals to elevator themes but the Create Linked Ticket modal on the Self Service Asset page was not
migrated as well. This patch fixes the issue.

diff --git a/share/html/SelfService/Asset/Helpers/CreateLinkedTicket b/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
index 2384e9a795..350dcce8a8 100644
--- a/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
+++ b/share/html/SelfService/Asset/Helpers/CreateLinkedTicket
@@ -45,11 +45,4 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<%args>
-$Asset
-</%args>
-<%init>
-my $asset = LoadAsset($Asset);
-</%init>
-<& /Asset/Elements/CreateLinkedTicket, AssetObj => $asset &>
-% $m->abort;
+% $m->comp( '/Asset/Helpers/CreateLinkedTicket', %ARGS );

-----------------------------------------------------------------------


hooks/post-receive
--
rt
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
https://lists.bestpractical.com/mailman/listinfo/rt-commit