Skip to content
Snippets Groups Projects
Commit 1b7dedf9 authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix UI bug where user change warning always showed

HTML does not allow nested <p> tags. Therefore the user warning was not
correctly hidden with the rest of the user change confirmation message.
parent e9591ac4
No related branches found
No related tags found
No related merge requests found
......@@ -897,9 +897,10 @@ $tcount+= $ticket->getNumNotes();
Are you sure want to <b>unassign</b> ticket from <b><?php echo $ticket->getAssigned(); ?></b>?
</p>
<p class="confirm-action" style="display:none;" id="changeuser-confirm">
<p id="msg_warning">
<b><?php echo Format::htmlchars($ticket->getName()); ?></b> &lt;<?php echo $ticket->getEmail(); ?>&gt; will no longer have access to the ticket.
</p>
<span id="msg_warning" style="display:block;vertical-align:top">
<b><?php echo Format::htmlchars($ticket->getName()); ?></b> &lt;<?php echo $ticket->getEmail(); ?>&gt;
<br> will no longer have access to the ticket.
</span>
Are you sure want to <b>change</b> ticket owner to <b><span id="newuser">this guy</span></b>?
</p>
<p class="confirm-action" style="display:none;" id="delete-confirm">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment