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
Branches
Tags
No related merge requests found
...@@ -897,9 +897,10 @@ $tcount+= $ticket->getNumNotes(); ...@@ -897,9 +897,10 @@ $tcount+= $ticket->getNumNotes();
Are you sure want to <b>unassign</b> ticket from <b><?php echo $ticket->getAssigned(); ?></b>? Are you sure want to <b>unassign</b> ticket from <b><?php echo $ticket->getAssigned(); ?></b>?
</p> </p>
<p class="confirm-action" style="display:none;" id="changeuser-confirm"> <p class="confirm-action" style="display:none;" id="changeuser-confirm">
<p id="msg_warning"> <span id="msg_warning" style="display:block;vertical-align:top">
<b><?php echo Format::htmlchars($ticket->getName()); ?></b> &lt;<?php echo $ticket->getEmail(); ?>&gt; will no longer have access to the ticket. <b><?php echo Format::htmlchars($ticket->getName()); ?></b> &lt;<?php echo $ticket->getEmail(); ?>&gt;
</p> <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>? Are you sure want to <b>change</b> ticket owner to <b><span id="newuser">this guy</span></b>?
</p> </p>
<p class="confirm-action" style="display:none;" id="delete-confirm"> <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