Skip to content

Commit

Permalink
need to use l_unsafe now with html arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rg1 committed Jun 28, 2012
1 parent 8eff3c3 commit c6f0a44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/AssetTracker/Elements/CreateAsset
Expand Up @@ -46,5 +46,5 @@
%#
%# END BPS TAGGED BLOCK }}}
<form action="<% RT->Config->Get('WebPath') %>/AssetTracker/Asset/ModifyAll.html" name="CreateAssetOfType" id="CreateAssetOfType">
<&|/l, $m->scomp('/AssetTracker/Elements/SelectNewAssetType', OnChange => 'document.CreateAssetOfType.submit()')&><input type="submit" class="button" value="New Asset of type" />&nbsp;[_1]</&>
<&|/l_unsafe, $m->scomp('/AssetTracker/Elements/SelectNewAssetType', OnChange => 'document.CreateAssetOfType.submit()')&><input type="submit" class="button" value="New Asset of type" />&nbsp;[_1]</&>
</form>
2 changes: 1 addition & 1 deletion html/AssetTracker/Elements/ShowLinks
Expand Up @@ -64,7 +64,7 @@
<FORM ACTION="<% RT->Config->Get('WebPath')%>/Ticket/Create.html" NAME="child" method="post">
<input type="hidden" name="new-RefersTo" value="<%$Asset->URI%>">
<input type="hidden" name="Subject" value="Problem with <%$Asset->Name%>">
<&|/l, $m->scomp('/Elements/SelectNewTicketQueue' )&><input type="submit" value="New ticket in queue">&nbsp;[_1]</&>
<&|/l_unsafe, $m->scomp('/Elements/SelectNewTicketQueue' )&><input type="submit" value="New ticket in queue">&nbsp;[_1]</&>
</FORM>
% }
% else {
Expand Down

1 comment on commit c6f0a44

@zladuric
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works also for 4.0.6

Please sign in to comment.