Skip to content
Browse files

Return this on one line to work around ColumnMap display issues

ColumnMap helpfully turns any newlines into <br>s which causes it to
format poorly
  • Loading branch information...
1 parent 394eb1e commit d0bb8c0ea7d16eeec093905fbeaffee87a3066cd @jibsheet jibsheet committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 html/RT-Extension-QuickDelete/Toggle
View
12 html/RT-Extension-QuickDelete/Toggle
@@ -12,13 +12,13 @@ $ticket->SetStatus('deleted');
$id
$toggle => 0
</%args>
-<span id="quickdelete-toggle-<%$id%>">
+<span id="quickdelete-toggle-<%$id%>">\
% my $url = $RT::WebPath."/RT-Extension-QuickDelete/ToggleQuickDelete?id=".$id;
-<a align="right" href="<%$url|n%>" onClick="ahah('<%$url|n%>', 'quickdelete-toggle-<%$id|n%>'); return false;" >
+<a align="right" href="<%$url|n%>" onClick="ahah('<%$url|n%>', 'quickdelete-toggle-<%$id|n%>'); return false;" >\
% if ($ticket->Status ne 'deleted') {
-Delete
+Delete\
% } else {
-Undelete
+Undelete\
% }
-</a>
-</span>
+</a>\
+</span>\

0 comments on commit d0bb8c0

Please sign in to comment.
Something went wrong with that request. Please try again.