[Rt-commit] rt branch, 4.2/dashboard-portlet, created. rt-4.2.8-13-gc2fc294
Alex Vandiver
alexmv at bestpractical.com
Tue Oct 14 13:56:37 EDT 2014
The branch, 4.2/dashboard-portlet has been created
at c2fc2943fa8bed225647d13df48c64e903fd1a87 (commit)
- Log -----------------------------------------------------------------
commit c2fc2943fa8bed225647d13df48c64e903fd1a87
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Oct 14 13:56:10 2014 -0400
Escape title before interpolating it inside single-quotes
Otherwise, the "s dashboards" becomes its own column.
diff --git a/share/html/Dashboards/Elements/ShowDashboards b/share/html/Dashboards/Elements/ShowDashboards
index e04e149..60a717e 100644
--- a/share/html/Dashboards/Elements/ShowDashboards
+++ b/share/html/Dashboards/Elements/ShowDashboards
@@ -54,6 +54,7 @@
% } else {
% $title = loc("[_1]'s dashboards",$Object->Name);
% }
+% $title =~ s/([\\'])/\\$1/g;
% $title = $m->interp->apply_escapes($title, 'h');
<& /Elements/CollectionList,
%ARGS,
-----------------------------------------------------------------------
More information about the rt-commit
mailing list